public void AppendFilter(string field, string operation, string value) { if (field == null) { throw new ArgumentNullException("field"); } if (operation == null) { throw new ArgumentNullException("operation"); } if (value == null) { throw new ArgumentNullException("value"); } Protocol.FilterProtocol filter = new Protocol.FilterProtocol(); filter.Field = field; filter.Operation = operation; filter.Value = value; this.filters.Add(filter); }
public void AppendFilter(string field, string operation, string value) { if( field == null) throw new ArgumentNullException("field"); if( operation == null) throw new ArgumentNullException("operation"); if( value == null) throw new ArgumentNullException("value"); Protocol.FilterProtocol filter = new Protocol.FilterProtocol(); filter.Field = field; filter.Operation = operation; filter.Value = value; this.filters.Add( filter ); }