CalculationContextAddFacet Method |
Adds a facet to the context.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic void AddFacet(
int facetId,
CalculationContextFacet facet
)
Public Sub AddFacet (
facetId As Integer,
facet As CalculationContextFacet
)
public:
void AddFacet(
int facetId,
CalculationContextFacet^ facet
)
member AddFacet :
facetId : int *
facet : CalculationContextFacet -> unit
Parameters
- facetId
- Type: SystemInt32
The ID of the facet to add. - facet
- Type: AGI.Foundation.InfrastructureCalculationContextFacet
The facet to add.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown when the facetId has not been allocated to any facet type.
|
See Also