Show / Hide Table of Contents

Class RequiresProvidesDirectiveProcessor

Inheritance
System.Object
DirectiveProcessor
RequiresProvidesDirectiveProcessor
Implements
IDirectiveProcessor
Inherited Members
DirectiveProcessor.IsDirectiveSupported(String)
DirectiveProcessor.GetTemplateClassCustomAttributes()
DirectiveProcessor.IDirectiveProcessor.Errors
DirectiveProcessor.IDirectiveProcessor.SetProcessingRunIsHostSpecific(Boolean)
DirectiveProcessor.IDirectiveProcessor.RequiresProcessingRunIsHostSpecific
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)
Namespace: Microsoft.VisualStudio.TextTemplating
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
Type Description
ITextTemplatingEngineHost

Methods

FinishProcessingRun()

Declaration
public override void FinishProcessingRun()
Overrides
DirectiveProcessor.FinishProcessingRun()

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
DirectiveProcessor.GetClassCodeForProcessingRun()

GetImportsForProcessingRun()

Declaration
public override string[] GetImportsForProcessingRun()
Returns
Type Description
System.String[]
Overrides
DirectiveProcessor.GetImportsForProcessingRun()

GetPostInitializationCodeForProcessingRun()

Declaration
public override string GetPostInitializationCodeForProcessingRun()
Returns
Type Description
System.String
Overrides
DirectiveProcessor.GetPostInitializationCodeForProcessingRun()

GetPreInitializationCodeForProcessingRun()

Declaration
public override string GetPreInitializationCodeForProcessingRun()
Returns
Type Description
System.String
Overrides
DirectiveProcessor.GetPreInitializationCodeForProcessingRun()

GetReferencesForProcessingRun()

Declaration
public override string[] GetReferencesForProcessingRun()
Returns
Type Description
System.String[]
Overrides
DirectiveProcessor.GetReferencesForProcessingRun()

Initialize(ITextTemplatingEngineHost)

Declaration
public override void Initialize(ITextTemplatingEngineHost host)
Parameters
Type Name Description
ITextTemplatingEngineHost host
Overrides
DirectiveProcessor.Initialize(ITextTemplatingEngineHost)

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
DirectiveProcessor.ProcessDirective(String, IDictionary<String, String>)

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
DirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection)

Implements

IDirectiveProcessor
In This Article
Back to top Copyright FasterGames ©