Gets an instance of the specified template type. Should be used with the Register directive.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public T Create<T>() where T : new(), CodeTemplate |
Visual Basic |
---|
Public Function Create(Of T As {New, CodeTemplate}) As T |
Type Parameters
- T
Return Value
Type: TThe CodeTemplate instance.