C# Class T4Scaffolding.Cmdlets.InvokeScaffoldTemplateCmdlet

Inheritance: ScaffoldingBaseCmdlet
Datei anzeigen Open project: processedbeets/ASP.NET-MVC-Scaffolding Class Usage Examples

Private Properties

Property Type Description
AddTextFileToProject void
DetermineLanguageForTemplate string
FindProjectAssemblyIfExists string
FindTemplateAssertExists string
GetOutputExtension string
GetTemplateOutput TemplateRenderingResult
InvokeScaffoldTemplateCmdlet System.CodeDom.Compiler
OverwriteProjectItemTextContent void
PreprocessTemplateContent string

Public Methods

Method Description
GetT4Engine ( ) : ITextTemplatingEngine
InvokeScaffoldTemplateCmdlet ( ) : System.CodeDom.Compiler

Protected Methods

Method Description
ProcessRecordCore ( ) : void

Private Methods

Method Description
AddTextFileToProject ( Project project, IFileSystem fileSystem, string projectRelativePath, string text ) : void
DetermineLanguageForTemplate ( string templateContent ) : string
FindProjectAssemblyIfExists ( Project project ) : string
FindTemplateAssertExists ( Project project, IFileSystem fileSystem, string template ) : string
GetOutputExtension ( DynamicTextTemplatingEngineHost host, ITextTemplatingEngine t4Engine, string templateContent ) : string
GetTemplateOutput ( Project project, IFileSystem fileSystem, string template, string projectRelativeOutputPath, Hashtable model, bool force ) : TemplateRenderingResult
InvokeScaffoldTemplateCmdlet ( ISolutionManager solutionManager, IFileSystem fileSystem ) : System.CodeDom.Compiler
OverwriteProjectItemTextContent ( ProjectItem item, string text ) : void
PreprocessTemplateContent ( string templateContent ) : string

Method Details

GetT4Engine() public static method

public static GetT4Engine ( ) : ITextTemplatingEngine
return ITextTemplatingEngine

InvokeScaffoldTemplateCmdlet() public method

public InvokeScaffoldTemplateCmdlet ( ) : System.CodeDom.Compiler
return System.CodeDom.Compiler

ProcessRecordCore() protected method

protected ProcessRecordCore ( ) : void
return void