Click or drag to resize
Ab4d.SharpEngine logo

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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public static long GetNextId(
	IComponentBase? componentBase
)

Parameters

componentBase  IComponentBase
ComponentBase that will have this id (can be null).

Return Value

Int64
unique Id
See Also