共用方式為


DslDirectiveProcessorBase.GeneratePreInitializationCode Method

Definition

Contribute additively to initialization code for the TextTransformation generated class.

protected:
 override void GeneratePreInitializationCode(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 override void GeneratePreInitializationCode (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);
override this.GeneratePreInitializationCode : string * System.Text.StringBuilder * System.CodeDom.Compiler.CodeDomProvider * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> -> unit
Protected Overrides Sub GeneratePreInitializationCode (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

This code will be added before the call to the base class.

Applies to