public void AppendFilterInList(string field, bool isIn, string[] values) { if (field == null) { throw new ArgumentNullException("field"); } if (values == null) { throw new ArgumentNullException("values"); } Protocol.FilterInListProtocol filter = new Protocol.FilterInListProtocol(); filter.Field = field; filter.IsIn = isIn; filter.Values = values; this.filtersInList.Add(filter); }
public void AppendFilterInList(string field, bool isIn, string[] values) { if( field == null) throw new ArgumentNullException("field"); if( values == null) throw new ArgumentNullException("values"); Protocol.FilterInListProtocol filter = new Protocol.FilterInListProtocol(); filter.Field = field; filter.IsIn = isIn; filter.Values = values; this.filtersInList.Add( filter ); }