PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Constraints Namespace / Constraint Class / Constraint Methods

Constraint Methods

The Constraint type exposes the following members.

Public methodValidateConstraint
Validates the fact that the constraint has been applied on a valid element of code. When this method returns false, the constraint is silently ignored.
See Also