示例#1
0
 /// <summary>
 /// Returns true if this set contains one or more of the characters
 /// and strings of the given set.
 /// </summary>
 /// <param name="set">This set.</param>
 /// <param name="s">Set to be checked for containment.</param>
 /// <returns>True if the condition is met.</returns>
 /// <draft>ICU4N 60.1</draft>
 /// <provisional>This API might change or be removed in a future release.</provisional>
 public static bool ContainsSome(this UnicodeSet set, UnicodeSet s)
 {
     if (set == null)
     {
         throw new ArgumentNullException(nameof(set));
     }
     return(set.ContainsSome(s));
 }