Example #1
0
        public ShippingManager()
        {
            _deliveryService = new BasicDeliveryService();

            footShipping  = new ByFootDelivery();
            trainShipping = new ByTrainDelivery();
            airShipping   = new ByAirDelivery();
        }
Example #2
0
 public void AddShippingRoute(DeliveryService service)
 {
     this.deliveryService = service;
 }