다음을 통해 공유


RequiresProvidesDirectiveProcessor.GeneratePostInitializationCode Method

Definition

Method for derived classes to contribute additively to initialization code for the TextTransformation generated class.

protected:
 abstract void GeneratePostInitializationCode(System::String ^ directiveName, System::Text::StringBuilder ^ codeBuffer, System::CodeDom::Compiler::CodeDomProvider ^ languageProvider, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ requiresArguments, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ providesArguments);
protected abstract void GeneratePostInitializationCode (string directiveName, System.Text.StringBuilder codeBuffer, System.CodeDom.Compiler.CodeDomProvider languageProvider, System.Collections.Generic.IDictionary<string,string> requiresArguments, System.Collections.Generic.IDictionary<string,string> providesArguments);
abstract member GeneratePostInitializationCode : string * System.Text.StringBuilder * System.CodeDom.Compiler.CodeDomProvider * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> -> unit
Protected MustOverride Sub GeneratePostInitializationCode (directiveName As String, codeBuffer As StringBuilder, languageProvider As CodeDomProvider, requiresArguments As IDictionary(Of String, String), providesArguments As IDictionary(Of String, String))

Parameters

directiveName
String
codeBuffer
StringBuilder
languageProvider
CodeDomProvider
requiresArguments
IDictionary<String,String>
providesArguments
IDictionary<String,String>

Remarks

Additive code is useful where there are multiple directive processor instances each needing to have some instance-specific initialization. As GenerateTransformCode can add methods, matching initialization code is often required to call those methods. This code will be added after the call to the base class.

Applies to