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
Показать файл Открыть проект

Открытые методы

Метод Описание
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