IConstraint.IsSatisfiedWith method
Namespace: NextDesign.Core
Description
Checks if the given object conforms to this constraint, starting from 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.
argument
Name | Type | Description |
---|---|---|
model | IModel | Base model for constraint evaluation |
target | object | Target object to evaluate constraints |
Return value
- bool