Interface IDirectiveProcessor
Assembly: cs.temp.dll.dll
Syntax
public interface IDirectiveProcessor
Properties
Errors
Declaration
CompilerErrorCollection Errors { get; }
Property Value
| Type |
Description |
| CompilerErrorCollection |
|
RequiresProcessingRunIsHostSpecific
Declaration
bool RequiresProcessingRunIsHostSpecific { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
FinishProcessingRun()
Declaration
void FinishProcessingRun()
GetClassCodeForProcessingRun()
Declaration
string GetClassCodeForProcessingRun()
Returns
| Type |
Description |
| System.String |
|
GetImportsForProcessingRun()
Declaration
string[] GetImportsForProcessingRun()
Returns
| Type |
Description |
| System.String[] |
|
GetPostInitializationCodeForProcessingRun()
Declaration
string GetPostInitializationCodeForProcessingRun()
Returns
| Type |
Description |
| System.String |
|
GetPreInitializationCodeForProcessingRun()
Declaration
string GetPreInitializationCodeForProcessingRun()
Returns
| Type |
Description |
| System.String |
|
GetReferencesForProcessingRun()
Declaration
string[] GetReferencesForProcessingRun()
Returns
| Type |
Description |
| System.String[] |
|
GetTemplateClassCustomAttributes()
Declaration
CodeAttributeDeclarationCollection GetTemplateClassCustomAttributes()
Returns
| Type |
Description |
| CodeAttributeDeclarationCollection |
|
Initialize(ITextTemplatingEngineHost)
Declaration
void Initialize(ITextTemplatingEngineHost host)
Parameters
IsDirectiveSupported(String)
Declaration
bool IsDirectiveSupported(string directiveName)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
Returns
| Type |
Description |
| System.Boolean |
|
ProcessDirective(String, IDictionary<String, String>)
Declaration
void ProcessDirective(string directiveName, IDictionary<string, string> arguments)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
arguments |
|
SetProcessingRunIsHostSpecific(Boolean)
Declaration
void SetProcessingRunIsHostSpecific(bool hostSpecific)
Parameters
| Type |
Name |
Description |
| System.Boolean |
hostSpecific |
|
StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection)
Declaration
void StartProcessingRun(CodeDomProvider languageProvider, string templateContents, CompilerErrorCollection errors)
Parameters
| Type |
Name |
Description |
| CodeDomProvider |
languageProvider |
|
| System.String |
templateContents |
|
| CompilerErrorCollection |
errors |
|