Class RequiresProvidesDirectiveProcessor
Inheritance
System.Object
RequiresProvidesDirectiveProcessor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
public abstract class RequiresProvidesDirectiveProcessor : DirectiveProcessor, IDirectiveProcessor
Constructors
RequiresProvidesDirectiveProcessor()
Declaration
protected RequiresProvidesDirectiveProcessor()
Properties
FriendlyName
Declaration
protected abstract string FriendlyName { get; }
Property Value
| Type |
Description |
| System.String |
|
Host
Declaration
protected ITextTemplatingEngineHost Host { get; }
Property Value
Methods
FinishProcessingRun()
Declaration
public override void FinishProcessingRun()
Overrides
GeneratePostInitializationCode(String, StringBuilder, CodeDomProvider, IDictionary<String, String>, IDictionary<String, String>)
Declaration
protected abstract void GeneratePostInitializationCode(string directiveName, StringBuilder codeBuffer, CodeDomProvider languageProvider, IDictionary<string, string> requiresArguments, IDictionary<string, string> providesArguments)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| StringBuilder |
codeBuffer |
|
| CodeDomProvider |
languageProvider |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
requiresArguments |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
providesArguments |
|
GeneratePreInitializationCode(String, StringBuilder, CodeDomProvider, IDictionary<String, String>, IDictionary<String, String>)
Declaration
protected abstract void GeneratePreInitializationCode(string directiveName, StringBuilder codeBuffer, CodeDomProvider languageProvider, IDictionary<string, string> requiresArguments, IDictionary<string, string> providesArguments)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| StringBuilder |
codeBuffer |
|
| CodeDomProvider |
languageProvider |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
requiresArguments |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
providesArguments |
|
GenerateTransformCode(String, StringBuilder, CodeDomProvider, IDictionary<String, String>, IDictionary<String, String>)
Declaration
protected abstract void GenerateTransformCode(string directiveName, StringBuilder codeBuffer, CodeDomProvider languageProvider, IDictionary<string, string> requiresArguments, IDictionary<string, string> providesArguments)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| StringBuilder |
codeBuffer |
|
| CodeDomProvider |
languageProvider |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
requiresArguments |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
providesArguments |
|
GetClassCodeForProcessingRun()
Declaration
public override string GetClassCodeForProcessingRun()
Returns
| Type |
Description |
| System.String |
|
Overrides
GetImportsForProcessingRun()
Declaration
public override string[] GetImportsForProcessingRun()
Returns
| Type |
Description |
| System.String[] |
|
Overrides
GetPostInitializationCodeForProcessingRun()
Declaration
public override string GetPostInitializationCodeForProcessingRun()
Returns
| Type |
Description |
| System.String |
|
Overrides
GetPreInitializationCodeForProcessingRun()
Declaration
public override string GetPreInitializationCodeForProcessingRun()
Returns
| Type |
Description |
| System.String |
|
Overrides
GetReferencesForProcessingRun()
Declaration
public override string[] GetReferencesForProcessingRun()
Returns
| Type |
Description |
| System.String[] |
|
Overrides
Initialize(ITextTemplatingEngineHost)
Declaration
public override void Initialize(ITextTemplatingEngineHost host)
Parameters
Overrides
InitializeProvidesDictionary(String, IDictionary<String, String>)
Declaration
protected abstract void InitializeProvidesDictionary(string directiveName, IDictionary<string, string> providesDictionary)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
providesDictionary |
|
InitializeRequiresDictionary(String, IDictionary<String, String>)
Declaration
protected abstract void InitializeRequiresDictionary(string directiveName, IDictionary<string, string> requiresDictionary)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
requiresDictionary |
|
PostProcessArguments(String, IDictionary<String, String>, IDictionary<String, String>)
Declaration
protected virtual void PostProcessArguments(string directiveName, IDictionary<string, string> requiresArguments, IDictionary<string, string> providesArguments)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
requiresArguments |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
providesArguments |
|
ProcessDirective(String, IDictionary<String, String>)
Declaration
public override void ProcessDirective(string directiveName, IDictionary<string, string> arguments)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
arguments |
|
Overrides
ProvideUniqueId(String, IDictionary<String, String>, IDictionary<String, String>, IDictionary<String, String>)
Declaration
protected virtual string ProvideUniqueId(string directiveName, IDictionary<string, string> arguments, IDictionary<string, string> requiresArguments, IDictionary<string, string> providesArguments)
Parameters
| Type |
Name |
Description |
| System.String |
directiveName |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
arguments |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
requiresArguments |
|
| System.Collections.Generic.IDictionary<System.String, System.String> |
providesArguments |
|
Returns
| Type |
Description |
| System.String |
|
StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection)
Declaration
public override void StartProcessingRun(CodeDomProvider languageProvider, string templateContents, CompilerErrorCollection errors)
Parameters
| Type |
Name |
Description |
| CodeDomProvider |
languageProvider |
|
| System.String |
templateContents |
|
| CompilerErrorCollection |
errors |
|
Overrides
Implements