CodeParser.TryRecover Method (RecoveryModes, Predicate<Char>, Boolean, SpanFactory)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Protected Function TryRecover ( _
    mode As RecoveryModes, _
    condition As Predicate(Of Char), _
    allowTransition As Boolean, _
    previousSpanFactory As SpanFactory _
) As Boolean
'Usage
Dim mode As RecoveryModes
Dim condition As Predicate(Of Char)
Dim allowTransition As Boolean
Dim previousSpanFactory As SpanFactory
Dim returnValue As Boolean

returnValue = Me.TryRecover(mode, _
    condition, allowTransition, previousSpanFactory)
protected bool TryRecover(
    RecoveryModes mode,
    Predicate<char> condition,
    bool allowTransition,
    SpanFactory previousSpanFactory
)
protected:
bool TryRecover(
    RecoveryModes mode, 
    Predicate<wchar_t>^ condition, 
    bool allowTransition, 
    SpanFactory^ previousSpanFactory
)
protected function TryRecover(
    mode : RecoveryModes, 
    condition : Predicate<char>, 
    allowTransition : boolean, 
    previousSpanFactory : SpanFactory
) : boolean

Parameters

Return Value

Type: System.Boolean

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

CodeParser Class

TryRecover Overload

System.Web.Razor.Parser Namespace