public CustomConstraintAttributes(IsObjectValidDelegate isObjectValidDelegate, PropertyDefinition[] relevantProperties)
 {
     this.IsObjectValidDelegate = isObjectValidDelegate;
     this.RelevantProperties    = relevantProperties;
 }
 internal CustomConstraint(string constraintDescription, PropertyDefinition[] relevantProperties, IsObjectValidDelegate validationDelegate, bool objectIsValidIfDelegateIsTrue) : base(relevantProperties)
 {
     this.constraintDescription         = constraintDescription;
     this.validationDelegate            = validationDelegate;
     this.propertyDefinition            = relevantProperties[0];
     this.objectIsValidIfDelegateIsTrue = objectIsValidIfDelegateIsTrue;
 }