Open sandboxFocus

Method Add

Add(T)

Creates a new IncrementalHashSet<T> that represents the operation of adding an item to the collection, additionally to any operation represented by the current collection.

Declaration
public IncrementalHashSet<T> Add(T item)
Parameters
Type Name Description
T item
Returns
Type Description
IncrementalHashSet<T>

Add(T[])

Creates a new IncrementalHashSet<T> that represents the operation of adding items to the collection, additionally to any operation represented by the current collection.

Declaration
public IncrementalHashSet<T> Add(T[] items)
Parameters
Type Name Description
T[] items
Returns
Type Description
IncrementalHashSet<T>

Add(IEnumerable<T>)

Creates a new IncrementalHashSet<T> that represents the operation of adding items to the collection, additionally to any operation represented by the current collection.

Declaration
public IncrementalHashSet<T> Add(IEnumerable<T> items)
Parameters
Type Name Description
IEnumerable<T> items
Returns
Type Description
IncrementalHashSet<T>