C# Class 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.
Inheritance: IDynamicHost
Afficher le fichier Open project: jradxl/Entity-Framework-Code-Generation-Tools-Experiments

Méthodes publiques

Méthode Description
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.

Method Details

AsIServiceProvider() public méthode

Returns null.
public AsIServiceProvider ( ) : IServiceProvider
Résultat IServiceProvider

ResolveParameterValue() public méthode

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
Résultat string

ResolvePath() public méthode

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
Résultat string