public void InitializeWithProperty() { _operation = (NumericValidatorOperation)Operation; _checkValue = (T)Value; _operationFunc = GetOperationList(_checkValue); }
public NumericValidator(NumericValidatorOperation operation, T value) { _operation = operation; _checkValue = value; Value = value; Operation = (int)operation; _operationFunc = GetOperationList(_checkValue); }