Beispiel #1
0
 // Readonly list of the columnorder instances making up the sort order
 //  order in list indicates precedence
 internal SmiColumnOrder this[int ordinal] {
     get {
         if (_columns.Count <= ordinal)
         {
             SmiColumnOrder order = new SmiColumnOrder();
             order.Order       = SortOrder.Unspecified;
             order.SortOrdinal = -1;
             return(order);
         }
         else
         {
             return(_columns[ordinal]);
         }
     }
 }
Beispiel #2
0
 // Readonly list of the columnorder instances making up the sort order
 //  order in list indicates precedence
 internal SmiColumnOrder this[int ordinal]
 {
     get
     {
         if (_columns.Count <= ordinal)
         {
             SmiColumnOrder order = new SmiColumnOrder();
             order.Order = SortOrder.Unspecified;
             order.SortOrdinal = -1;
             return order;
         }
         else
         {
             return _columns[ordinal];
         }
     }
 }