Skip to main content

IConstraint interface

Namespace: NextDesign.Core

Description

An access object to constraints.

Affiliation area

NameDescription
ProfileAPIs for accessing profiles.

Inherit Base

NameDescription
INamedElementRepresents a nameable element.

Property

NameDescription
ConditionString representing the content of the constraint
For path constraints, the path string is set.
ConstrainedElementsElements to be constrained
KeyKinds of ways to interpret the contents of the constraint
- "System.PathConstraint": path constraint
ScopeScope where the constraint is valid

Method

NameDescription
IsSatisfiedWithChecks 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.