ImmutableHashSet<T>

Immutable hashset wraps another hashset, and allows for reading the inner hashset, without the ability to change it.

namespace Sirenix.Utilities
{
public class ImmutableHashSet<T> : IEnumerable<T>
}

Requirements

Namespace: Sirenix.Utilities
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Constructors

Definition Description
ImmutableHashSet(HashSet<T>) Creates an immutable hashset around another hashset.

Methods

Return Type Definition Description
bool Contains(T) Returns true if the item is contained in the list.
IEnumerator<T> GetEnumerator() Gets the enumerator.