Share via


TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.IsAtEmbeddedTransition Method

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

Determines whether this instance is at embedded transition.

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

Syntax

'Declaration
Protected Overridable Function IsAtEmbeddedTransition ( _
    allowTemplatesAndComments As Boolean, _
    allowTransitions As Boolean _
) As Boolean
'Usage
Dim allowTemplatesAndComments As Boolean 
Dim allowTransitions As Boolean 
Dim returnValue As Boolean 

returnValue = Me.IsAtEmbeddedTransition(allowTemplatesAndComments, _
    allowTransitions)
protected virtual bool IsAtEmbeddedTransition(
    bool allowTemplatesAndComments,
    bool allowTransitions
)
protected:
virtual bool IsAtEmbeddedTransition(
    bool allowTemplatesAndComments, 
    bool allowTransitions
)
abstract IsAtEmbeddedTransition : 
        allowTemplatesAndComments:bool * 
        allowTransitions:bool -> bool  
override IsAtEmbeddedTransition : 
        allowTemplatesAndComments:bool * 
        allowTransitions:bool -> bool
protected function IsAtEmbeddedTransition(
    allowTemplatesAndComments : boolean, 
    allowTransitions : boolean
) : boolean

Parameters

  • allowTemplatesAndComments
    Type: System.Boolean
    true to allow templates and comments; otherwise, false.
  • allowTransitions
    Type: System.Boolean
    true to allow transitions; otherwise, false.

Return Value

Type: System.Boolean
true if this instance is at embedded transition; otherwise, false.

See Also

Reference

TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class

System.Web.Razor.Parser Namespace