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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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