Méthode | Description | |
---|---|---|
DynamicTemplateHost ( ) : System | ||
GetHostOption ( string parameter ) : object |
Gets the host options
|
|
LoadIncludeText ( string requestFileName, string &content, string &location ) : bool |
The engine calls this method based on the optional include directive if the user has specified it in the text template.
|
|
LogErrors ( |
Log the erros
|
|
Preprocess ( string input ) : string |
Enhanced reg-ex based pre processing
|
|
ProcessTemplate ( string templateFileName, string outputFileName ) : |
Process the input template
|
|
ProvideTemplatingAppDomain ( string content ) : |
Returns the app domain of the host
|
|
ResolveAssemblyReference ( string assemblyReference ) : string |
The engine calls this method to resolve assembly references used in the generated transformation class project, and for the optional
|
|
ResolveDirectiveProcessor ( string processorName ) : |
Resolves the directive processor
|
|
ResolveParameterValue ( string directiveId, string processorName, string parameterName ) : string |
If a call to a directive in a text template does not provide a value for a required parameter, the directive processor can try to get it from the host by calling this method. This method can be called 0, 1, or more times.
|
|
ResolvePath ( string fileName ) : string |
A directive processor can call this method if a file name does not have a path.
|
|
SetFileExtension ( string extension ) : void |
The engine calls this method to change the extension of the generated text output file based on the optional output directive if the user specifies it in the text template.
|
|
SetOutputEncoding ( System encoding, bool fromOutputDirective ) : void |
Sets the output encoding
|
public GetHostOption ( string parameter ) : object | ||
parameter | string | |
Résultat | object |
public LoadIncludeText ( string requestFileName, string &content, string &location ) : bool | ||
requestFileName | string | |
content | string | |
location | string | |
Résultat | bool |
public LogErrors ( |
||
errors | ||
Résultat | void |
public Preprocess ( string input ) : string | ||
input | string | |
Résultat | string |
public ProcessTemplate ( string templateFileName, string outputFileName ) : |
||
templateFileName | string | |
outputFileName | string | |
Résultat |
public ProvideTemplatingAppDomain ( string content ) : |
||
content | string | |
Résultat |
public ResolveAssemblyReference ( string assemblyReference ) : string | ||
assemblyReference | string | |
Résultat | string |
public ResolveDirectiveProcessor ( string processorName ) : |
||
processorName | string | |
Résultat |
public ResolveParameterValue ( string directiveId, string processorName, string parameterName ) : string | ||
directiveId | string | |
processorName | string | |
parameterName | string | |
Résultat | string |
public ResolvePath ( string fileName ) : string | ||
fileName | string | |
Résultat | string |
public SetFileExtension ( string extension ) : void | ||
extension | string | |
Résultat | void |
public SetOutputEncoding ( System encoding, bool fromOutputDirective ) : void | ||
encoding | System | |
fromOutputDirective | bool | |
Résultat | void |