C# Class UmbCodeGen.CodeGen.DynamicHost

Reponsible for implementing the IDynamicHost as a dynamic shape wrapper over the Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost interface rather than type dependent wrapper. We don't use the interface type so that the code can be run in preprocessed mode on a .net framework only installed machine.
Inheritance: IDynamicHost
Afficher le fichier Open project: pdebacker/UmbCodeGen

Méthodes publiques

Méthode Description
AsIServiceProvider ( ) : IServiceProvider

Returns the Host instance cast as an IServiceProvider

DynamicHost ( object instance ) : System

Creates an instance of the DynamicHost class around the passed in Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost shapped instance passed in.

ResolveParameterValue ( string id, string name, string otherName ) : string

A call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolveParameterValue

ResolvePath ( string path ) : string

A call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolvePath

Method Details

AsIServiceProvider() public méthode

Returns the Host instance cast as an IServiceProvider
public AsIServiceProvider ( ) : IServiceProvider
Résultat IServiceProvider

DynamicHost() public méthode

Creates an instance of the DynamicHost class around the passed in Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost shapped instance passed in.
public DynamicHost ( object instance ) : System
instance object
Résultat System

ResolveParameterValue() public méthode

A call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolveParameterValue
public ResolveParameterValue ( string id, string name, string otherName ) : string
id string
name string
otherName string
Résultat string

ResolvePath() public méthode

A call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolvePath
public ResolvePath ( string path ) : string
path string
Résultat string