/// <exception cref="ArgumentNullException"><paramref name="values"/> is <see langword="null" />.</exception> public IntegerListFilterCondition(IntegerAttributes attribute, ListOperation operation, [NotNull] IEnumerable <int?> values) { if (values == null) { throw new ArgumentNullException(nameof(values)); } _Attribute = attribute; _Operation = operation; _Values = new List <int?>(values); }
public static string GetAttributeName(IntegerAttributes attribute) { switch (attribute) { case IntegerAttributes.Length: return(AttrLength); default: throw new ArgumentOutOfRangeException(nameof(attribute), attribute, "Unknown enumeration value."); } }
public IntegerCompareFilterCondition(IntegerAttributes attribute, CompareOperation operation, int?value) { _Attribute = attribute; _Operation = operation; _Value = value; }
/// <summary> /// Initializes a new instance of the <see cref="IntegerConditionGenerator"/> class. /// </summary> public IntegerConditionGenerator(IntegerAttributes integerAttribute) { _IntegerAttribute = integerAttribute; }