ParseRecorder Class

Definition

需要在页分析过程中告知页分析事件的对象的抽象基类。Abstract base class for objects that need to be notified of parse events during page parsing.

public ref class ParseRecorder abstract
public abstract class ParseRecorder
type ParseRecorder = class
Public MustInherit Class ParseRecorder
Inheritance
ParseRecorder

Constructors

ParseRecorder()

初始化 ParseRecorder 类的新实例。Initializes a new instance of the ParseRecorder class.

Properties

RecorderFactories

获取分析记录器工厂的集合。Gets a collection of parse recorder factories.

Methods

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
Initialize(TemplateParser)

在派生类中实现时,初始化该侦听器。When implemented in a derived class, initializes the listener.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ParseComplete(ControlBuilder)

在模板分析器完成文件分析时调用。Called when the template parser is finished parsing the file.

ProcessGeneratedCode(ControlBuilder, CodeCompileUnit, CodeTypeDeclaration, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)

在派生类中实现时,允许分析记录器访问生成的 CodeDom,插入及修改代码。When implemented in a derived class, enables the parse recorder to access the generated CodeDom and insert and modify code.

RecordBeginTag(ControlBuilder, Match)

在模板分析器遇到 Web 控件开始标记时调用。Called when the template parser encounters a web control start tag.

RecordCodeBlock(ControlBuilder, Match)

在模板分析器遇到代码块时调用。Called when the template parser encounters a code block.

RecordEmptyTag(ControlBuilder, Match)

在模板分析器遇到 Web 控件空标记时调用。Called when the template parser encounters a web control empty tag.

RecordEndTag(ControlBuilder, Match)

在模板分析器遇到 Web 控件结束标记时调用。Called when the template parser encounters a web control end tag.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to