MetalamaAPI documentationAspect APIMetalama.​Framework.​OptionsIncremental­Hash­Set<T>Add
Open sandboxFocus

IncrementalHashSet<T>.Add Method

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
System.Collections.Generic.IEnumerable<T> items
Returns
Type Description
IncrementalHashSet<T>