Contains a list of all registered instances and their identical identification string
More...
|
static string | GetInstanceId< T > (T instance) |
| Returns the instance identification string for the passed instance More...
|
|
static object | GetInstance (string instanceId) |
| Returns the registered instance for the provide instance identification string More...
|
|
static T | GetInstance< T > (string instanceId) |
| Returns the registered instance for the provide instance identification string More...
|
|
static bool | IsInstanceInPool< T > (T instance) |
| Goes through all registered instances to find the passed instance More...
|
|
static bool | IsInPool (string instanceId) |
| Goes through all registered instances to find the instance marching the passed instance identification string More...
|
|
static void | AddInstance< T > (T instance) |
| Adds a new instance to the pool More...
|
|
static bool | RemoveInstance< T > (T instance) |
| Removes an instance from the pool More...
|
|
Contains a list of all registered instances and their identical identification string
Definition at line 11 of file GlobalPool.cs.
static void HybridBridge.InstancePool.GlobalPool.AddInstance< T > |
( |
T |
instance | ) |
|
|
static |
Adds a new instance to the pool
- Parameters
-
instance | The instance to add |
- Template Parameters
-
T | The type of the instance |
Definition at line 89 of file GlobalPool.cs.
static object HybridBridge.InstancePool.GlobalPool.GetInstance |
( |
string |
instanceId | ) |
|
|
static |
Returns the registered instance for the provide instance identification string
- Parameters
-
instanceId | The instance identification string |
- Returns
- Returns the instance that matched the instance identification string
Definition at line 35 of file GlobalPool.cs.
Returns the registered instance for the provide instance identification string
- Parameters
-
instanceId | The instance identification string |
- Template Parameters
-
T | The type of the instance |
- Returns
- Returns the instance that matched the instance identification string
Definition at line 49 of file GlobalPool.cs.
static string HybridBridge.InstancePool.GlobalPool.GetInstanceId< T > |
( |
T |
instance | ) |
|
|
static |
Returns the instance identification string for the passed instance
- Parameters
-
instance | The instance to search for |
- Template Parameters
-
T | The type of the instance |
- Returns
- Returns the identification string of the passed instance
Definition at line 22 of file GlobalPool.cs.
static bool HybridBridge.InstancePool.GlobalPool.IsInPool |
( |
string |
instanceId | ) |
|
|
static |
Goes through all registered instances to find the instance marching the passed instance identification string
- Parameters
-
instanceId | The instance identification string to search for |
- Returns
- if the passed instance identification string was in list, otherwise
Definition at line 76 of file GlobalPool.cs.
static bool HybridBridge.InstancePool.GlobalPool.IsInstanceInPool< T > |
( |
T |
instance | ) |
|
|
static |
Goes through all registered instances to find the passed instance
- Parameters
-
instance | The instance to search for |
- Template Parameters
-
T | The type of the instance |
- Returns
- if the passed instance was in list, otherwise
Definition at line 60 of file GlobalPool.cs.
static bool HybridBridge.InstancePool.GlobalPool.RemoveInstance< T > |
( |
T |
instance | ) |
|
|
static |
Removes an instance from the pool
- Parameters
-
instance | The instance to remove |
- Template Parameters
-
T | The type of the instance |
- Returns
- if the instance was in the pool and removed, otherwise
Definition at line 114 of file GlobalPool.cs.
The documentation for this class was generated from the following file:
- E:/Personal/Open-Source Projects/HybridBridge/HybridBridge/InstancePool/GlobalPool.cs