Пример #1
0
        public Order()
        {
            selectingState = new SelectingState(this);
            supplyingDeliveryDetailsState = new SupplyingDeliveryDetailsState(this);
            orderPickingState = new OrderPickingState(this);
            readyForShippingState = new ReadyForShippingState(this);
            shippedState = new ShippedState(this);

            state = selectingState;
        }
Пример #2
0
        public Order()
        {
            selectingState = new SelectingState(this);
            supplyingDeliveryDetailsState = new SupplyingDeliveryDetailsState(this);
            orderPickingState             = new OrderPickingState(this);
            readyForShippingState         = new ReadyForShippingState(this);
            shippedState = new ShippedState(this);

            state = selectingState;
        }