Table of Contents

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
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

int

Methods

Contains(T)

public bool Contains(T x)

Parameters

x T

Returns

bool

GetEnumerator()

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>