ParserResults 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
ParserResults(Block, IList<RazorError>) |
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 ParserResults class. |
ParserResults(Boolean, Block, IList<RazorError>) |
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 ParserResults class. |
ParserResults(Block, IList<RazorError>)
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 ParserResults class.
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))
Parameters
- document
- Block
The root node in the document’s syntax tree.
- parserErrors
- IList<RazorError>
The list of errors which occurred during parsing.
Applies to
ParserResults(Boolean, Block, IList<RazorError>)
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 ParserResults class.
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))
Parameters
- success
- Boolean
true if parsing was successful; otherwise, false.
- document
- Block
The root node in the document’s syntax tree.
- errors
- IList<RazorError>
The list of errors which occurred during parsing.