NDepend.API Documentation
ContainsAny(String,String,String,StringComparison) Method
NDepend.Helpers Namespace > ExtensionMethodsString Class > ContainsAny Method : ContainsAny(String,String,String,StringComparison) Method
This string.
One of the string that might be contained by thisString.
One of the string that might be contained by thisString.
One of the enumeration values that determines how this string is compared to value.
Gets a value indicating whether this string contains any of the strings specified.
Syntax

Parameters

thisString
This string.
str0
One of the string that might be contained by thisString.
str1
One of the string that might be contained by thisString.
stringComparison
One of the enumeration values that determines how this string is compared to value.
Requirements

Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

ExtensionMethodsString Class
ExtensionMethodsString Members
Overload List