Επεξεργασία

Κοινή χρήση μέσω


ControlBuilderInterceptor.OnProcessGeneratedCode Method

Definition

Called after the ControlBuilder has completed generating code.

public:
 virtual void OnProcessGeneratedCode(System::Web::UI::ControlBuilder ^ controlBuilder, System::CodeDom::CodeCompileUnit ^ codeCompileUnit, System::CodeDom::CodeTypeDeclaration ^ baseType, System::CodeDom::CodeTypeDeclaration ^ derivedType, System::CodeDom::CodeMemberMethod ^ buildMethod, System::CodeDom::CodeMemberMethod ^ dataBindingMethod, System::Collections::IDictionary ^ additionalState);
public virtual void OnProcessGeneratedCode (System.Web.UI.ControlBuilder controlBuilder, System.CodeDom.CodeCompileUnit codeCompileUnit, System.CodeDom.CodeTypeDeclaration baseType, System.CodeDom.CodeTypeDeclaration derivedType, System.CodeDom.CodeMemberMethod buildMethod, System.CodeDom.CodeMemberMethod dataBindingMethod, System.Collections.IDictionary additionalState);
abstract member OnProcessGeneratedCode : System.Web.UI.ControlBuilder * System.CodeDom.CodeCompileUnit * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod * System.Collections.IDictionary -> unit
override this.OnProcessGeneratedCode : System.Web.UI.ControlBuilder * System.CodeDom.CodeCompileUnit * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod * System.Collections.IDictionary -> unit
Public Overridable Sub OnProcessGeneratedCode (controlBuilder As ControlBuilder, codeCompileUnit As CodeCompileUnit, baseType As CodeTypeDeclaration, derivedType As CodeTypeDeclaration, buildMethod As CodeMemberMethod, dataBindingMethod As CodeMemberMethod, additionalState As IDictionary)

Parameters

controlBuilder
ControlBuilder

The control builder instance.

codeCompileUnit
CodeCompileUnit

A CodeCompileUnit object that is generated by the compilation.

baseType
CodeTypeDeclaration

The type declaration of the code behind class or derived type.

derivedType
CodeTypeDeclaration

The type declaration of top level markup element.

buildMethod
CodeMemberMethod

The method with the necessary code to create the control and set the control's various properties, events, fields.

dataBindingMethod
CodeMemberMethod

The method with code to evaluate data binding expressions within the control.

additionalState
IDictionary

The additional state which can be used to store and retrieve data within several methods of the ControlBuilderInterceptor class.

Applies to