ParseRecorder.ProcessGeneratedCode Method (ControlBuilder, CodeCompileUnit, CodeTypeDeclaration, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)

.NET Framework (current version)
 

When implemented in a derived class, enables the parse recorder to access the generated CodeDom and insert and modify code.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public virtual void ProcessGeneratedCode(
	ControlBuilder builder,
	CodeCompileUnit codeCompileUnit,
	CodeTypeDeclaration baseType,
	CodeTypeDeclaration derivedType,
	CodeMemberMethod buildMethod,
	CodeMemberMethod dataBindingMethod
)

Parameters

builder
Type: System.Web.UI.ControlBuilder

The control builder.

codeCompileUnit
Type: System.CodeDom.CodeCompileUnit

The code compile unit.

baseType
Type: System.CodeDom.CodeTypeDeclaration

The code type declaration base type.

derivedType
Type: System.CodeDom.CodeTypeDeclaration

The code type declaration derived type.

buildMethod
Type: System.CodeDom.CodeMemberMethod

The build method.

dataBindingMethod
Type: System.CodeDom.CodeMemberMethod

The data binding method.

.NET Framework
Available since 4.5
Return to top
Show: