TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Optional Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Optional(KnownSymbolType) | |
Optional(TSymbolType) |
Optional(KnownSymbolType)
protected public:
bool Optional(Microsoft::AspNetCore::Razor::Tokenizer::Symbols::KnownSymbolType type);
protected internal bool Optional (Microsoft.AspNetCore.Razor.Tokenizer.Symbols.KnownSymbolType type);
member this.Optional : Microsoft.AspNetCore.Razor.Tokenizer.Symbols.KnownSymbolType -> bool
Protected Friend Function Optional (type As KnownSymbolType) As Boolean
Parameters
- type
- KnownSymbolType
Returns
Applies to
Optional(TSymbolType)
protected public:
bool Optional(TSymbolType type);
protected internal bool Optional (TSymbolType type);
member this.Optional : 'SymbolType -> bool
Protected Friend Function Optional (type As TSymbolType) As Boolean
Parameters
- type
- TSymbolType