Share via


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.

See Also

Reference

ParserResults Class

ParserResults Overload

System.Web.Razor Namespace