Esempio n. 1
0
 public void Add(PropertyCompare <T> pc)
 {
     pcList.Add(pc);
 }
Esempio n. 2
0
        public void Add(PropertyInfo pi, SortDirection direction = SortDirection.Ascending)
        {
            PropertyCompare <T> pc = new PropertyCompare <T>(pi, direction);

            Add(pc);
        }
Esempio n. 3
0
        public void Add(Expression <Func <T, object> > exp, SortDirection direction = SortDirection.Ascending)
        {
            PropertyCompare <T> pc = new PropertyCompare <T>(exp, direction);

            Add(pc);
        }
Esempio n. 4
0
        public void Add(string pName, SortDirection direction = SortDirection.Ascending)
        {
            PropertyCompare <T> pc = new PropertyCompare <T>(pName, direction);

            Add(pc);
        }