GeneratorResults Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GeneratorResults(ParserResults, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the GeneratorResults class. |
GeneratorResults(Block, IList<RazorError>, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the GeneratorResults class. |
GeneratorResults(Boolean, Block, IList<RazorError>, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the GeneratorResults class. |
GeneratorResults(ParserResults, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the GeneratorResults class.
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))
Parameters
- parserResults
- ParserResults
The parser results.
- generatedCode
- CodeCompileUnit
The generated code.
- designTimeLineMappings
- IDictionary<Int32,GeneratedCodeMapping>
The dictionary of design-time generated code mappings.
Applies to
GeneratorResults(Block, IList<RazorError>, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the GeneratorResults class.
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))
Parameters
- document
- Block
The document.
- parserErrors
- IList<RazorError>
The parser errors.
- generatedCode
- CodeCompileUnit
The generated code.
- designTimeLineMappings
- IDictionary<Int32,GeneratedCodeMapping>
The dictionary of design-time generated code mappings.
Applies to
GeneratorResults(Boolean, Block, IList<RazorError>, CodeCompileUnit, IDictionary<Int32,GeneratedCodeMapping>)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the GeneratorResults class.
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))
Parameters
- success
- Boolean
true if the code generation is a success; otherwise, false.
- document
- Block
The document.
- parserErrors
- IList<RazorError>
The parser errors.
- generatedCode
- CodeCompileUnit
The generated code.
- designTimeLineMappings
- IDictionary<Int32,GeneratedCodeMapping>
The dictionary of design-time generated code mappings.