Beispiel #1
0
 public TQItemSelector(string key, TQItemSelectorSet set)
 {
     if (set != TQItemSelectorSet.Ascending || set != TQItemSelectorSet.Descending)
     {
         throw new Exception();
     }
     this.Rule(key, set);
 }
Beispiel #2
0
 public TQItemSelector Rule(string key, TQItemSelectorSet set)
 {
     this.parameters.Add(key,
         new TQItemSelectorParam()
         {
             Key = key,
             Value = null,
             ValueSet = set
         });
     return this;
 }
Beispiel #3
0
 public TQItemSelector Rule(string key, TQItemSelectorSet set)
 {
     this.parameters.Add(key,
                         new TQItemSelectorParam()
     {
         Key      = key,
         Value    = null,
         ValueSet = set
     });
     return(this);
 }
Beispiel #4
0
 public TQItemSelector(string key, TQItemSelectorSet set)
 {
     if (set == TQItemSelectorSet.Ascending || set == TQItemSelectorSet.Descending)
     {
         this.Rule(key, set);
     }
     else
     {
         throw new Exception("this constructor only for sort manner spec");
     }
 }
Beispiel #5
0
 public TQItemSelector(string key, TQItemSelectorSet set)
 {
     if (set == TQItemSelectorSet.Ascending || set == TQItemSelectorSet.Descending)
     {
         this.Rule(key, set);
     }
     else
     {
         throw new Exception("this constructor only for sort manner spec");
     }
 }
Beispiel #6
0
 public TQItemSelector(string key, TQItemSelectorSet set)
 {
     if (set != TQItemSelectorSet.Ascending || set != TQItemSelectorSet.Descending)
         throw new Exception();
     this.Rule(key, set);
 }