ParserResults Constructor (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.
Namespace: System.Web.Razor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Sub New ( _
success As Boolean, _
document As Block, _
errors As IList(Of RazorError) _
)
'Usage
Dim success As Boolean
Dim document As Block
Dim errors As IList(Of RazorError)
Dim instance As New ParserResults(success, _
document, errors)
protected ParserResults(
bool success,
Block document,
IList<RazorError> errors
)
protected:
ParserResults(
bool success,
Block^ document,
IList<RazorError^>^ errors
)
new :
success:bool *
document:Block *
errors:IList<RazorError> -> ParserResults
protected function ParserResults(
success : boolean,
document : Block,
errors : IList<RazorError>
)
Parameters
- success
Type: System.Boolean
true if parsing was successful; otherwise, false.
- document
Type: System.Web.Razor.Parser.SyntaxTree.Block
The root node in the document’s syntax tree.
- errors
Type: System.Collections.Generic.IList<RazorError>
The list of errors which occurred during parsing.