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>

設計時間產生的程式碼對應字典。

適用於