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
)
Public Shared Function GetNextFacetId (
creationCallback As CreateCalculationContextFacetCallback
) As Integer
public:
static int GetNextFacetId(
CreateCalculationContextFacetCallback^ creationCallback
)
static member GetNextFacetId :
creationCallback : CreateCalculationContextFacetCallback -> int
Parameters
- creationCallback
- Type: AGI.Foundation.InfrastructureCreateCalculationContextFacetCallback
A callback to use to create a default instance of this facet.
Return Value
Type:
Int32The next facet ID.
See Also