C# 클래스 EFUtility.CodeGenerationTools.NullHost

Reponsible for implementing the IDynamicHost when the Host property is not available on the TextTemplating type. The Host property only exists when the hostspecific attribute of the template directive is set to true.
상속: IDynamicHost
파일 보기 프로젝트 열기: jradxl/Entity-Framework-Code-Generation-Tools-Experiments

공개 메소드들

메소드 설명
AsIServiceProvider ( ) : IServiceProvider

Returns null.

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

An abstraction of the call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolveParameterValue that simply retuns null.

ResolvePath ( string path ) : string

An abstraction of the call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolvePath that simply retuns the path passed in.

메소드 상세

AsIServiceProvider() 공개 메소드

Returns null.
public AsIServiceProvider ( ) : IServiceProvider
리턴 IServiceProvider

ResolveParameterValue() 공개 메소드

An abstraction of the call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolveParameterValue that simply retuns null.
public ResolveParameterValue ( string id, string name, string otherName ) : string
id string
name string
otherName string
리턴 string

ResolvePath() 공개 메소드

An abstraction of the call to Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost ResolvePath that simply retuns the path passed in.
public ResolvePath ( string path ) : string
path string
리턴 string