|
|
|
|
@ -198,18 +198,19 @@ namespace WebSocketSharp
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the specified <see cref="string"/> contains any of characters in
|
|
|
|
|
/// Determines whether the specified string contains any of characters in
|
|
|
|
|
/// the specified array of <see cref="char"/>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>
|
|
|
|
|
/// <c>true</c> if <paramref name="value"/> contains any of <paramref name="anyOf"/>;
|
|
|
|
|
/// otherwise, <c>false</c>.
|
|
|
|
|
/// <c>true</c> if <paramref name="value"/> contains any of characters in
|
|
|
|
|
/// <paramref name="anyOf"/>; otherwise, <c>false</c>.
|
|
|
|
|
/// </returns>
|
|
|
|
|
/// <param name="value">
|
|
|
|
|
/// A <see cref="string"/> to test.
|
|
|
|
|
/// </param>
|
|
|
|
|
/// <param name="anyOf">
|
|
|
|
|
/// An array of <see cref="char"/> that contains characters to find.
|
|
|
|
|
/// An array of <see cref="char"/> that contains one or more characters to
|
|
|
|
|
/// seek.
|
|
|
|
|
/// </param>
|
|
|
|
|
internal static bool Contains (this string value, params char[] anyOf)
|
|
|
|
|
{
|
|
|
|
|
|