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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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