public FilterParameters Copy(long key, object value) { FilterParameters fp = new FilterParameters(this); fp[key] = value; return(fp); }
public FilterParameters CopyByOrderBy(int orderBy) { FilterParameters fp = new FilterParameters(this); fp.OrderBy = orderBy; return(fp); }
public FilterParameters CopyByBrand(int brand) { FilterParameters fp = new FilterParameters(this); fp.Brand = brand; return(fp); }
public FilterParameters CopyByPage(long page) { FilterParameters fp = new FilterParameters(this); fp.Page = page; return(fp); }
private FilterParameters(FilterParameters value) { _page = 1; _brand = value._brand; _orderBy = value._orderBy; _parameters = new SortedDictionary <long, object>(value._parameters); }
public FilterData(FilterParameters filter, SplitPageData <T> data) { _filter = filter; _data = data; }