DisposableSetclass
new DisposableSet<T>()
| Return | |
|---|---|
DisposableSet<T> | Version of Set that has disposable items. |
Version of Set that has disposable items.
- Values are disposed when they're deleted from the map.
- Values are disposed when all items are cleared.
- All items are cleared (and disposed) when this map itself is disposed.