GeneratorResults 构造函数

定义

重载

GeneratorResults(ParserResults, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)

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

GeneratorResults(Block, IList<RazorError>, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)

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

GeneratorResults(Boolean, Block, IList<RazorError>, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)

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

GeneratorResults(ParserResults, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)

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

public GeneratorResults (System.Web.Razor.ParserResults parserResults, System.CodeDom.CodeCompileUnit generatedCode, System.Collections.Generic.IDictionary<int,System.Web.Razor.Generator.GeneratedCodeMapping> designTimeLineMappings);
new System.Web.Razor.GeneratorResults : System.Web.Razor.ParserResults * System.CodeDom.CodeCompileUnit * System.Collections.Generic.IDictionary<int, System.Web.Razor.Generator.GeneratedCodeMapping> -> System.Web.Razor.GeneratorResults
Public Sub New (parserResults As ParserResults, generatedCode As CodeCompileUnit, designTimeLineMappings As IDictionary(Of Integer, GeneratedCodeMapping))

参数

parserResults
ParserResults

分析程序结果。

generatedCode
CodeCompileUnit

生成的代码。

designTimeLineMappings
IDictionary<Int32,GeneratedCodeMapping>

设计时所生成代码映射的字典。

适用于

GeneratorResults(Block, IList<RazorError>, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)

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

public GeneratorResults (System.Web.Razor.Parser.SyntaxTree.Block document, System.Collections.Generic.IList<System.Web.Razor.Parser.SyntaxTree.RazorError> parserErrors, System.CodeDom.CodeCompileUnit generatedCode, System.Collections.Generic.IDictionary<int,System.Web.Razor.Generator.GeneratedCodeMapping> designTimeLineMappings);
new System.Web.Razor.GeneratorResults : System.Web.Razor.Parser.SyntaxTree.Block * System.Collections.Generic.IList<System.Web.Razor.Parser.SyntaxTree.RazorError> * System.CodeDom.CodeCompileUnit * System.Collections.Generic.IDictionary<int, System.Web.Razor.Generator.GeneratedCodeMapping> -> System.Web.Razor.GeneratorResults
Public Sub New (document As Block, parserErrors As IList(Of RazorError), generatedCode As CodeCompileUnit, designTimeLineMappings As IDictionary(Of Integer, GeneratedCodeMapping))

参数

document
Block

文档。

parserErrors
IList<RazorError>

分析器错误。

generatedCode
CodeCompileUnit

生成的代码。

designTimeLineMappings
IDictionary<Int32,GeneratedCodeMapping>

设计时所生成代码映射的字典。

适用于

GeneratorResults(Boolean, Block, IList<RazorError>, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)

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

protected GeneratorResults (bool success, System.Web.Razor.Parser.SyntaxTree.Block document, System.Collections.Generic.IList<System.Web.Razor.Parser.SyntaxTree.RazorError> parserErrors, System.CodeDom.CodeCompileUnit generatedCode, System.Collections.Generic.IDictionary<int,System.Web.Razor.Generator.GeneratedCodeMapping> designTimeLineMappings);
new System.Web.Razor.GeneratorResults : bool * System.Web.Razor.Parser.SyntaxTree.Block * System.Collections.Generic.IList<System.Web.Razor.Parser.SyntaxTree.RazorError> * System.CodeDom.CodeCompileUnit * System.Collections.Generic.IDictionary<int, System.Web.Razor.Generator.GeneratedCodeMapping> -> System.Web.Razor.GeneratorResults
Protected Sub New (success As Boolean, document As Block, parserErrors As IList(Of RazorError), generatedCode As CodeCompileUnit, designTimeLineMappings As IDictionary(Of Integer, GeneratedCodeMapping))

参数

success
Boolean

如果代码生成成功,则为 true;否则为 false。

document
Block

文档。

parserErrors
IList<RazorError>

分析器错误。

generatedCode
CodeCompileUnit

生成的代码。

designTimeLineMappings
IDictionary<Int32,GeneratedCodeMapping>

设计时所生成代码映射的字典。

适用于