Class NonNullableHashSet<T>
Inheritance
NonNullableHashSet<T>
Syntax
public class NonNullableHashSet<T> : ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Constructors
NonNullableHashSet()
Declaration
public NonNullableHashSet()
NonNullableHashSet(IEnumerable<T>)
Declaration
public NonNullableHashSet(IEnumerable<T> collection)
Parameters
NonNullableHashSet(IEnumerable<T>, IEqualityComparer<T>)
Declaration
public NonNullableHashSet(IEnumerable<T> collection, IEqualityComparer<T> comparer)
Parameters
NonNullableHashSet(IEqualityComparer<T>)
Declaration
public NonNullableHashSet(IEqualityComparer<T> comparer)
Parameters
Properties
Count
Declaration
public int Count { get; }
Property Value
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Methods
Add(T)
Declaration
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Implements
Clear()
Declaration
Contains(T)
Declaration
public bool Contains(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
CopyTo(T[], Int32)
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Int32 |
arrayIndex |
|
ExceptWith(IEnumerable<T>)
Declaration
public void ExceptWith(IEnumerable<T> other)
Parameters
Implements
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
IntersectWith(IEnumerable<T>)
Declaration
public void IntersectWith(IEnumerable<T> other)
Parameters
Implements
IsProperSubsetOf(IEnumerable<T>)
Declaration
public bool IsProperSubsetOf(IEnumerable<T> other)
Parameters
Returns
Implements
IsProperSupersetOf(IEnumerable<T>)
Declaration
public bool IsProperSupersetOf(IEnumerable<T> other)
Parameters
Returns
Implements
IsSubsetOf(IEnumerable<T>)
Declaration
public bool IsSubsetOf(IEnumerable<T> other)
Parameters
Returns
Implements
IsSupersetOf(IEnumerable<T>)
Declaration
public bool IsSupersetOf(IEnumerable<T> other)
Parameters
Returns
Implements
Overlaps(IEnumerable<T>)
Declaration
public bool Overlaps(IEnumerable<T> other)
Parameters
Returns
Implements
Remove(T)
Declaration
public bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
SetEquals(IEnumerable<T>)
Declaration
public bool SetEquals(IEnumerable<T> other)
Parameters
Returns
Implements
SymmetricExceptWith(IEnumerable<T>)
Declaration
public void SymmetricExceptWith(IEnumerable<T> other)
Parameters
Implements
UnionWith(IEnumerable<T>)
Declaration
public void UnionWith(IEnumerable<T> other)
Parameters
Implements
Extension Methods