public OrderListByState(OrderStatesCollections orderStatesAllowed) {
			if (orderStatesAllowed == null) {
				throw new Exception("CTOR_FAILED: orderStatesAllowed=NULL: you must supply non-null, non-empty OrderStatesCollections allows for this OrderList");
			}
			if (orderStatesAllowed.Count == 0) {
				throw new Exception("CTOR_FAILED: orderStatesAllowed.OrderStates.Count=0: you must supply non-empty OrderStatesCollections allows for this OrderList");
			}
			this.StatesAllowed = orderStatesAllowed;
			base.Capacity = 2000;
		}
Example #2
0
 public OrderListByState(OrderStatesCollections orderStatesAllowed)
 {
     if (orderStatesAllowed == null)
     {
         throw new Exception("CTOR_FAILED: orderStatesAllowed=NULL: you must supply non-null, non-empty OrderStatesCollections allows for this OrderList");
     }
     if (orderStatesAllowed.Count == 0)
     {
         throw new Exception("CTOR_FAILED: orderStatesAllowed.OrderStates.Count=0: you must supply non-empty OrderStatesCollections allows for this OrderList");
     }
     this.StatesAllowed = orderStatesAllowed;
     base.Capacity      = 2000;
 }