public void MapToSearchField(ISearchField searchField) { if (!(searchField is SearchField <T>)) { throw new ArgumentException("SearchField must be of type " + typeof(T).FullName + ".", "searchField"); } ((SearchField <T>)searchField).WhereEquals(EqualTo); }
public void Add(ISearchField field) { throw new NotSupportedException(); }
/// <summary>Adds the specified field.</summary> /// <param name="field">The field.</param> public virtual void Add(ISearchField field) { this._fields.Add(field); }