ParserResults Constructor (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
Public Sub New ( _
document As Block, _
parserErrors As IList(Of RazorError) _
)
'Usage
Dim document As Block
Dim parserErrors As IList(Of RazorError)
Dim instance As New ParserResults(document, _
parserErrors)
public ParserResults(
Block document,
IList<RazorError> parserErrors
)
public:
ParserResults(
Block^ document,
IList<RazorError^>^ parserErrors
)
new :
document:Block *
parserErrors:IList<RazorError> -> ParserResults
public function ParserResults(
document : Block,
parserErrors : IList<RazorError>
)
Parameters
- document
Type: System.Web.Razor.Parser.SyntaxTree.Block
The root node in the document’s syntax tree.
- parserErrors
Type: System.Collections.Generic.IList<RazorError>
The list of errors which occurred during parsing.