/// <summary> /// Add values filter with a integer values array /// </summary> /// <param name="name">Attribute name</param> /// <param name="values">Values array to filter</param> /// <param name="exclude">Exclude or include matches</param> /// <returns>New attribute filter object</returns> public AttributeFilterValuesInt32 Add(string name, IEnumerable <int> values, bool exclude) { AttributeFilterValuesInt32 item = new AttributeFilterValuesInt32(name, values, exclude); Add(item); return(item); }
/// <summary> /// Add new values filter with a single integer value /// </summary> /// <param name="name">Attribute name</param> /// <param name="value">Value to filter</param> /// <param name="exclude">Exclude or include matches</param> /// <returns>New attribute filter object</returns> public AttributeFilterValuesInt32 Add(string name, int value, bool exclude) { AttributeFilterValuesInt32 item = new AttributeFilterValuesInt32(name, value, exclude); Add(item); return(item); }