Skip to main content

IConstraint Interface

Namespace: NextDesign.Core

Description​

Constraint access object.

Belonging Area​

NameDescription
ProfileAPIs to access profile.

Inherit Base​

NameDescription
INamedElementRepresents a nameable element.

Property​

NameDescription
ConditionString representing the constraint content
For path constraints, the path string is set.
ConstrainedElementsElements to which the constraint applies
KeyType of method for interpreting the constraint content
- "System.PathConstraint": Path constraint
ScopeScope in which the constraint is valid

Method​

NameDescription
IsSatisfiedWithChecks whether the given object satisfies this constraint based on the specified model.
If the constraint is satisfied, it returns true.

Note that if a model unrelated to this constraint is specified as the base model for constraint evaluation, it will always be evaluated to return true.