public void Add(PropertyCompare <T> pc) { pcList.Add(pc); }
public void Add(PropertyInfo pi, SortDirection direction = SortDirection.Ascending) { PropertyCompare <T> pc = new PropertyCompare <T>(pi, direction); Add(pc); }
public void Add(Expression <Func <T, object> > exp, SortDirection direction = SortDirection.Ascending) { PropertyCompare <T> pc = new PropertyCompare <T>(exp, direction); Add(pc); }
public void Add(string pName, SortDirection direction = SortDirection.Ascending) { PropertyCompare <T> pc = new PropertyCompare <T>(pName, direction); Add(pc); }