Пример #1
0
 public BringShippingGateway()
 {
     _shippingClient      = ServiceLocator.Current.GetInstance <IShippingClient>();
     _warehouseRepository = ServiceLocator.Current.GetInstance <IWarehouseRepository>();
 }
Пример #2
0
 public BringShippingGateway(IShippingClient shippingClient, IEstimateQueryFactory estimateQueryFactory, IEstimateSettingsFactory estimateSettingsFactory)
 {
     _shippingClient          = shippingClient;
     _estimateQueryFactory    = estimateQueryFactory;
     _estimateSettingsFactory = estimateSettingsFactory;
 }
Пример #3
0
 public BringShippingGateway()
 {
     _shippingClient = ServiceLocator.Current.GetInstance <IShippingClient>();
 }