A referential constraint is a piece validation logic executed at build time. Referential constraints
are applied to elements of code ((Assembly
typically using custom attributes or MulticastAttribute
, and verified
at build time for every assembly using this element of code. This is a difference to scalar constraints,
which are only verified for the assembly where that element of code is defined.
PostSharp (in PostSharp.dll) Version: 22.214.171.124 (126.96.36.199)
public interface IReferentialConstraint : IConstraint
The IReferentialConstraint type exposes the following members.
Validates the constraint.
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.)
Remarks See Also