 |
ResourceTrackerGetNextId Method |
Get next Id as a long value that is unique for this application.
This method is thread safe and can be called from any thread.
When ResourceTracking is enabled then the creation of componentBase object will be recorded and the object's lifecycle will be tracked by this ResourceTracker.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic static long GetNextId(
IComponentBase? componentBase
)
Parameters
- componentBase IComponentBase
- ComponentBase that will have this id (can be null).
Return Value
Int64unique Id
See Also