C# Класс EFUtility.CodeGenerationTools.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
Показать файл Открыть проект

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

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