Exemple #1
0
 /// <summary>
 /// Complement EACH of the characters in this string. Note: "ch" == {"c", "h"}
 /// If this set already any particular character, it has no effect on that character.
 /// </summary>
 /// <param name="set">This set.</param>
 /// <param name="s">The source string.</param>
 /// <returns>This object, for chaining.</returns>
 /// <draft>ICU4N 60.1</draft>
 /// <provisional>This API might change or be removed in a future release.</provisional>
 public static UnicodeSet ComplementAll(this UnicodeSet set, ICharSequence s)
 {
     if (set == null)
     {
         throw new ArgumentNullException(nameof(set));
     }
     return(set.ComplementAll(s));
 }
Exemple #2
0
 /// <summary>
 /// Complement EACH of the characters in this string. Note: "ch" == {"c", "h"}
 /// If this set already any particular character, it has no effect on that character.
 /// </summary>
 /// <param name="set">This set.</param>
 /// <param name="s">The source string.</param>
 /// <returns>This object, for chaining.</returns>
 /// <draft>ICU4N 60.1</draft>
 /// <provisional>This API might change or be removed in a future release.</provisional>
 public static UnicodeSet ComplementAll(this UnicodeSet set, StringBuilder s)
 {
     if (set == null)
     {
         throw new ArgumentNullException(nameof(set));
     }
     return(set.ComplementAll(s));
 }