A constraint that validates a specific element of code. Use an IReferentialConstraint to validate relationships between elements of code.
Assembly: PostSharp (in PostSharp.dll) Version: 220.127.116.11 (18.104.22.168)
public interface IScalarConstraint : IConstraint
Thetype exposes the following members.
Validates the element of code to which the constraint is applied.
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.)