IConstraint.ValidateConstraint Method |
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.
Namespace: PostSharp.Constraints
Assembly: PostSharp (in PostSharp.dll) Version: 6.6.14.0 (6.6.14.0)
C#
bool ValidateConstraint( Object target )
Parameters
- target
- Type: System.Object
Return Value
Type: Booleantrue if the constraint has been applied on a valid element of code, otherwise false.