C# 클래스 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.
상속: IDynamicHost
파일 보기 프로젝트 열기: pdebacker/UmbCodeGen

공개 메소드들

메소드 설명
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

메소드 상세

AsIServiceProvider() 공개 메소드

Returns the Host instance cast as an IServiceProvider
public AsIServiceProvider ( ) : IServiceProvider
리턴 IServiceProvider

DynamicHost() 공개 메소드

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
리턴 System

ResolveParameterValue() 공개 메소드

A call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolveParameterValue
public ResolveParameterValue ( string id, string name, string otherName ) : string
id string
name string
otherName string
리턴 string

ResolvePath() 공개 메소드

A call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolvePath
public ResolvePath ( string path ) : string
path string
리턴 string