public override void IsValid_ArgumentChecks() { base.IsValid_ArgumentChecks(); var compareOperator_noProperty = new CompareOperatorAttribute("noProperty"); Assert.IsNotNull(compareOperator_noProperty.GetValidationResult(1, _context), "Null other property"); }
protected override object PerformCheck(object value, ValidationContext context) { return(_operator.GetValidationResult(value, context)); }