Interface IReadOnlyHashSet<T>
A read-only hash set that raises events when keys are added or removed.
Namespace: VivoxUnity
Assembly: VivoxUnity.dll
Syntax
public interface IReadOnlyHashSet<T>
Type Parameters
Name | Description |
---|---|
T | The type of item in the hashset |
Properties
Count
The number of items in the collection.
Declaration
int Count { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Contains(T)
Indicates whether a key is contained in the collection.
Declaration
bool Contains(T key)
Parameters
Type | Name | Description |
---|---|---|
T | key | The key. |
Returns
Type | Description |
---|---|
bool | True if the key is contained in the collection. |
Events
AfterKeyAdded
Raised after adding a key.
Declaration
event EventHandler<KeyEventArg<T>> AfterKeyAdded
Event Type
Type | Description |
---|---|
EventHandler<KeyEventArg<T>> |
BeforeKeyRemoved
Raised prior to removing a key.
Declaration
event EventHandler<KeyEventArg<T>> BeforeKeyRemoved
Event Type
Type | Description |
---|---|
EventHandler<KeyEventArg<T>> |