Class HandlePool<THandle>
Inheritance
HandlePool<THandle>
Syntax
public abstract class HandlePool<THandle>
Type Parameters
Constructors
HandlePool()
Declaration
HandlePool(HandlePool<THandle>, Boolean)
Declaration
protected HandlePool(HandlePool<THandle> parent, bool reserveInParents)
Parameters
Fields
handles
Declaration
protected readonly HashSet<THandle> handles
Field Value
Type |
Description |
HashSet<THandle> |
|
Methods
ConstructHandle(String)
Declaration
protected abstract THandle ConstructHandle(string uniqueName)
Parameters
Type |
Name |
Description |
String |
uniqueName |
|
Returns
Contains(THandle)
Declaration
public bool Contains(THandle handle)
Parameters
Type |
Name |
Description |
THandle |
handle |
|
Returns
ProcessName(String)
Declaration
protected virtual string ProcessName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Reserve(String)
Declaration
public THandle Reserve(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Extension Methods