IConstraint Interface
Namespace: NextDesign.Core
Description
Constraint access object.
Belonging Area
| Name | Description |
|---|---|
| Profile | APIs to access profile. |
Inherit Base
| Name | Description |
|---|---|
| INamedElement | Represents a nameable element. |
Property
| Name | Description |
|---|---|
| Condition | String representing the constraint content For path constraints, the path string is set. |
| ConstrainedElements | Elements to which the constraint applies |
| Key | Type of method for interpreting the constraint content - "System.PathConstraint": Path constraint |
| Scope | Scope in which the constraint is valid |
Method
| Name | Description |
|---|---|
| IsSatisfiedWith | Checks 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. |