IConstraint interface
Namespace: NextDesign.Core
Description
An access object to constraints.
Affiliation area
Name | Description |
---|---|
Profile | APIs for accessing profiles. |
Inherit Base
Name | Description |
---|---|
INamedElement | Represents a nameable element. |
Property
Name | Description |
---|---|
Condition | String representing the content of the constraint For path constraints, the path string is set. |
ConstrainedElements | Elements to be constrained |
Key | Kinds of ways to interpret the contents of the constraint - "System.PathConstraint": path constraint |
Scope | Scope where the constraint is valid |
Method
Name | Description |
---|---|
IsSatisfiedWith | Checks if the given object satisfies this constraint based on the given model. Returns true if the constraint is satisfied. If a model unrelated to this constraint is specified as the base model for constraint evaluation, it will always be evaluated to return true. |