PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Constraints Namespace / IConstraint Interface / IConstraint Methods
IConstraint Methods

The IConstraint type exposes the following members.

Methods
  Name Description
Public method ValidateConstraint
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