PostSharp6.0/API Reference/Post­Sharp.​Constraints Namespace/IReferential­Constraint Interface/IReferential­Constraint Methods

IReferentialConstraint Methods

The IReferentialConstraint type exposes the following members.

Methods
  NameDescription
Public methodValidateCode
Validates the constraint.
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.
(Inherited from IConstraint.)
See Also