TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Optional 方法

定义

重载

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

参数

返回

适用于

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

参数

type
TSymbolType

返回

适用于