Example #1
0
 /// <seealso cref="UnicodeSet.RemoveAll(UnicodeSet)"/>
 /// <draft>ICU4N 60.1</draft>
 /// <provisional>This API might change or be removed in a future release.</provisional>
 public static UnicodeSet RemoveAll <T>(this UnicodeSet set, IEnumerable <T> collection) where T : ICharSequence
 {
     if (set == null)
     {
         throw new ArgumentNullException(nameof(set));
     }
     return(set.RemoveAll(collection));
 }
Example #2
0
 /// <summary>
 /// Remove 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 RemoveAll(this UnicodeSet set, ICharSequence s)
 {
     if (set == null)
     {
         throw new ArgumentNullException(nameof(set));
     }
     return(set.RemoveAll(s));
 }
Example #3
0
 /// <seealso cref="UnicodeSet.RemoveAll(UnicodeSet)"/>
 /// <draft>ICU4N 60.1</draft>
 /// <provisional>This API might change or be removed in a future release.</provisional>
 public static UnicodeSet RemoveAll(this UnicodeSet set, IEnumerable <char[]> collection)
 {
     if (set == null)
     {
         throw new ArgumentNullException(nameof(set));
     }
     return(set.RemoveAll(collection));
 }
Example #4
0
 /// <summary>
 /// Remove 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 RemoveAll(this UnicodeSet set, StringBuilder s)
 {
     if (set == null)
     {
         throw new ArgumentNullException(nameof(set));
     }
     return(set.RemoveAll(s));
 }