ParserResults 构造函数

定义

重载

ParserResults(Block, IList<RazorError>)

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。初始化 类的新实例ParserResults

ParserResults(Boolean, Block, IList<RazorError>)

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。初始化 类的新实例ParserResults

ParserResults(Block, IList<RazorError>)

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。初始化 类的新实例ParserResults

public ParserResults(System.Web.Razor.Parser.SyntaxTree.Block document, System.Collections.Generic.IList<System.Web.Razor.Parser.SyntaxTree.RazorError> parserErrors);
new System.Web.Razor.ParserResults : System.Web.Razor.Parser.SyntaxTree.Block * System.Collections.Generic.IList<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Web.Razor.ParserResults
Public Sub New (document As Block, parserErrors As IList(Of RazorError))

参数

document
Block

文档语法树中的根节点。

parserErrors
IList<RazorError>

在分析期间所发生错误的列表。

适用于

ParserResults(Boolean, Block, IList<RazorError>)

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。初始化 类的新实例ParserResults

protected ParserResults(bool success, System.Web.Razor.Parser.SyntaxTree.Block document, System.Collections.Generic.IList<System.Web.Razor.Parser.SyntaxTree.RazorError> errors);
new System.Web.Razor.ParserResults : bool * System.Web.Razor.Parser.SyntaxTree.Block * System.Collections.Generic.IList<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Web.Razor.ParserResults
Protected Sub New (success As Boolean, document As Block, errors As IList(Of RazorError))

参数

success
Boolean

如果分析成功,则为 true;否则为 false。

document
Block

文档语法树中的根节点。

errors
IList<RazorError>

在分析期间所发生错误的列表。

适用于