Associated a unique integer ID with a class type for faster lookups The unique Id are stored in the app domain using a static tempalte IMPORTANT: Unique class id's are not the same across the network or between loads
More...
Associated a unique integer ID with a class type for faster lookups The unique Id are stored in the app domain using a static tempalte IMPORTANT: Unique class id's are not the same across the network or between loads
◆ Get< T >()
static uint pluginbase.Helpers.UniqueClassIds.Get< T > |
( |
| ) |
|
|
static |
Gets the unique identifier for a type
- Returns
- The unique identifier.
- Template Parameters
-
55 return UniqueIdCache<T>.Id;
◆ GetUniqueId< T >()
static uint pluginbase.Helpers.UniqueClassIds.GetUniqueId< T > |
( |
this T |
o | ) |
|
|
static |
Gets the unique identifier for a class
- Returns
- The unique identifier.
- Parameters
-
- Template Parameters
-
41 return UniqueIdCache<T>.Id;
The documentation for this class was generated from the following file: