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

ReferentialConstraint Methods

The ReferentialConstraint type exposes the following members.

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 Constraint.)
Extension Methods
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also