Class ReadOnlyHashSet<T>
- Namespace
- SearchAThing.Ext
- Assembly
- netcore-ext.dll
enclose hashset to a readonly collection
public class ReadOnlyHashSet<T> : IReadOnlyHashSet<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
T
- enclose hashset to a readonly collection
- Inheritance
-
ReadOnlyHashSet<T>
- Implements
-
IEnumerable<T>
- Inherited Members
- Extension Methods
Constructors
ReadOnlyHashSet(HashSet<T>)
public ReadOnlyHashSet(HashSet<T> hs)
Parameters
hs
HashSet<T>
Properties
Count
public int Count { get; }
Property Value
Methods
Contains(T)
public bool Contains(T x)
Parameters
x
T
Returns
GetEnumerator()
public IEnumerator<T> GetEnumerator()
Returns
- IEnumerator<T>