ControlBuilderInterceptor.OnProcessGeneratedCode(ControlBuilder, CodeCompileUnit, CodeTypeDeclaration, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, IDictionary) ControlBuilderInterceptor.OnProcessGeneratedCode(ControlBuilder, CodeCompileUnit, CodeTypeDeclaration, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, IDictionary) ControlBuilderInterceptor.OnProcessGeneratedCode(ControlBuilder, CodeCompileUnit, CodeTypeDeclaration, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, IDictionary) 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

Parameters

controlBuilder
ControlBuilder ControlBuilder ControlBuilder

The control builder instance.

codeCompileUnit
CodeCompileUnit CodeCompileUnit CodeCompileUnit

A CodeCompileUnit object that is generated by the compilation.

baseType
CodeTypeDeclaration CodeTypeDeclaration CodeTypeDeclaration

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

derivedType
CodeTypeDeclaration CodeTypeDeclaration CodeTypeDeclaration

The type declaration of top level markup element.

buildMethod
CodeMemberMethod CodeMemberMethod CodeMemberMethod

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

dataBindingMethod
CodeMemberMethod CodeMemberMethod CodeMemberMethod

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

additionalState
IDictionary IDictionary IDictionary

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

Applies to