ConcurrentHashSet<T>

Namespace: uModCollections

Assembly: uMod.Core.dll

Inheritance Object ConcurrentHashSet

Implements ICollection<T>, IEnumerable<T>, IEnumerable

Summary

A partially thread-safe HashSet (iterating is not thread-safe)

Constructors

Name

Summary

ConcurrentHashSet ()

Create a new concurrent hashset object

ConcurrentHashSet (IEnumerable<T>)

ConcurrentHashSet (T[])

Properties

Name

Summary

Count

Get the number of elements stored in the hashset

IsReadOnly

Methods

Name

Summary

Add (T)

Any (Func<T, Boolean>)

Clear ()

Clear all values from the hashset

Contains (T)

CopyTo (T[], Int32)

GetEnumerator ()

Get a strongly-typed enumerator for the hashset (not thread safe)

Remove (T)

ToArray ()

Get the array of items stored in the hashset

TryDequeue (out T)