public FieldValueValidationDecorator(IFieldExposed decoratedField, IRuntimeContext context) { this.decoratedField = decoratedField; this.validators = new BaseFieldValueValidator[] { new IncorrectDataTypeFieldValidator(context), new NullAssignmentToRequiredFieldValueValidator(context), new InvalidValueFieldValueValidator(context), new ValueAssignmentToReadonlyFieldValueValidator(context), new ValueAssignmentToHistoryFieldValidator(context) }; }
public DoubleFixFieldDecorator(IFieldExposed decoratedField, IRuntimeContext context) { this.decoratedField = decoratedField; }