Click or drag to resize

CalculationContextGetNextFacetId Method

Gets the next available facet ID. Each time this method is called a unique ID is returned. It is safe to call this method from multiple threads simultaneously.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static int GetNextFacetId(
	CreateCalculationContextFacetCallback creationCallback
)

Parameters

creationCallback
Type: AGI.Foundation.InfrastructureCreateCalculationContextFacetCallback
A callback to use to create a default instance of this facet.

Return Value

Type: Int32
The next facet ID.
See Also