![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
A wrapper for HashSet<T> that doesn't allow modification of the set. This is useful for handing out references to a set that is going to be modified internally, without giving external consumers the opportunity to accidentally modify the set. More...
Public Member Functions | |
| ReadOnlyHashSet (HashSet< TElement > underlyingSet) | |
| bool | Contains (TElement item) |
| void | CopyTo (TElement[] array, int arrayIndex) |
| IEnumerator< TElement > | GetEnumerator () |
Properties | |
| int | Count [get] |
A wrapper for HashSet<T> that doesn't allow modification of the set. This is useful for handing out references to a set that is going to be modified internally, without giving external consumers the opportunity to accidentally modify the set.
Definition at line 16 of file ReadOnlyHashSet.cs.
| HoloToolkit.Unity.ReadOnlyHashSet< TElement >.ReadOnlyHashSet | ( | HashSet< TElement > | underlyingSet | ) |
Definition at line 23 of file ReadOnlyHashSet.cs.
| bool HoloToolkit.Unity.ReadOnlyHashSet< TElement >.Contains | ( | TElement | item | ) |
Definition at line 50 of file ReadOnlyHashSet.cs.
| void HoloToolkit.Unity.ReadOnlyHashSet< TElement >.CopyTo | ( | TElement [] | array, |
| int | arrayIndex | ||
| ) |
Definition at line 55 of file ReadOnlyHashSet.cs.
| IEnumerator<TElement> HoloToolkit.Unity.ReadOnlyHashSet< TElement >.GetEnumerator | ( | ) |
Definition at line 60 of file ReadOnlyHashSet.cs.
|
get |
Definition at line 31 of file ReadOnlyHashSet.cs.