public MinMaxRule CreateMinMaxRule(long min, long max, NullValueTreatment nullValueTreatment = NullValueTreatment.Ignore) { var minMaxRule = new MinMaxRule() { Minimum = min, Maximum = max, NullValueTreatment = nullValueTreatment, IsActive = true, }; Assigner.AddErrorTypes(minMaxRule); return(minMaxRule); }
public MinMaxRuleEditViewViewModel(MinMaxRule r) : base(r) { _rule = r; }