PatternSearch TextIsAnyOf TToken  Method (TToken, StringComparison,  String )NFX Class Library

[This is preliminary documentation and is subject to change.]

Returns true when token's text is any of specified

Namespace: NFX.CodeAnalysis
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static bool TextIsAnyOf<TToken>(
	this TToken token,
	StringComparison comparison,
	params string[] texts
)
where TToken : Token

Parameters

token
Type: TToken
comparison
Type: OnlineSystem StringComparison
texts
Type:  OnlineSystem String 
Type Parameters

TToken

Return Value

Type: OnlineBoolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also