편집

다음을 통해 공유


ParseRecorder.ProcessGeneratedCode Method

Definition

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

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

Parameters

builder
ControlBuilder

The control builder.

codeCompileUnit
CodeCompileUnit

The code compile unit.

baseType
CodeTypeDeclaration

The code type declaration base type.

derivedType
CodeTypeDeclaration

The code type declaration derived type.

buildMethod
CodeMemberMethod

The build method.

dataBindingMethod
CodeMemberMethod

The data binding method.

Applies to