A constraint is a piece validation logic executed at build time. Constraints are applied to elements of code ((Assembly, Type, MethodInfo, ConstructorInfo, PropertyInfo, EventInfo, FieldInfo, ParameterInfo), typically using custom attributes or MulticastAttribute, and verified at build time for every assembly using this element of code.
Assembly: PostSharp (in PostSharp.dll) Version: 188.8.131.52 (184.108.40.206)
public interface IReferentialConstraint : IConstraint
Thetype 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.)