Summary
Clears the `set` and puts it into the pool to be available for reuse, then sets the reference to null.
If `set` is already null, this method will do nothing.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- WeaverUtilities
Syntax
public static void Release<T>(ref HashSet<T> set)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
set | HashSet |
Return Value
Type | Description |
---|---|
void |