ControlBuilderInterceptor.OnProcessGeneratedCode Method

Definition

Called after the ControlBuilder has completed generating code.

C#
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);

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

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1