Creates new IncrementalHashSet<T> that represents the operation of adding an item to
the collection, or to override with a new value if these items already exist.
Declaration
public static IncrementalHashSet<T> Add<T>(T item) where T : notnull
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Type Parameters
Creates new IncrementalHashSet<T> that represents the operation of adding items to
the collection, or to override with a new value if these items already exist.
Declaration
public static IncrementalHashSet<T> Add<T>(params T[] items) where T : notnull
Parameters
Type |
Name |
Description |
T[] |
items |
|
Returns
Type Parameters
Creates new IncrementalHashSet<T> that represents the operation of adding items to
the collection, or to override with a new value if these items already exist.
Declaration
public static IncrementalHashSet<T> Add<T>(IEnumerable<T> items) where T : notnull
Parameters
Returns
Type Parameters