/// <summary> /// Initializes a new instance of the <see cref="RemoteOrderManager" /> class. /// </summary> /// <param name="serviceClientArgsFactory">The service client args factory.</param> /// <param name="orderConvertor">The order convertor.</param> /// <param name="shoppingCartConvertor">The shopping cart convertor.</param> public RemoteOrderManager(ServiceClientArgsFactory serviceClientArgsFactory, Convertor <Order> orderConvertor, Convertor <ShoppingCart> shoppingCartConvertor) { Assert.ArgumentNotNull(serviceClientArgsFactory, "serviceClientArgsFactory"); Assert.ArgumentNotNull(orderConvertor, "orderConvertor"); Assert.ArgumentNotNull(shoppingCartConvertor, "shoppingCartConvertor"); this.serviceClientArgsFactory = serviceClientArgsFactory; this.orderConvertor = orderConvertor; this.shoppingCartConvertor = shoppingCartConvertor; }
/// <summary> /// Initializes a new instance of the <see cref="RemoteProductStockManager"/> class. /// </summary> /// <param name="serviceClientArgsFactory">The service client args factory.</param> public RemoteProductStockManager(ServiceClientArgsFactory serviceClientArgsFactory) { Assert.ArgumentNotNull(serviceClientArgsFactory, "serviceClientArgsFactory"); this.serviceClientArgsFactory = serviceClientArgsFactory; }
/// <summary> /// Initializes a new instance of the <see cref="RemoteOrderIDGenerator"/> class. /// </summary> /// <param name="serviceClientArgsFactory">The service client args factory.</param> public RemoteOrderIDGenerator(ServiceClientArgsFactory serviceClientArgsFactory) { this.serviceClientArgsFactory = serviceClientArgsFactory; }
/// <summary> /// Initializes a new instance of the <see cref="RemoteVisitorOrderManager" /> class. /// </summary> /// <param name="serviceClientArgsFactory">The service client args factory.</param> public RemoteVisitorOrderManager(ServiceClientArgsFactory serviceClientArgsFactory) { this.serviceClientArgsFactory = serviceClientArgsFactory; }
/// <summary> /// Initializes a new instance of the <see cref="RemoteOrderProcessor" /> class. /// </summary> /// <param name="serviceClientArgsFactory">The service client args factory.</param> public RemoteOrderProcessor(ServiceClientArgsFactory serviceClientArgsFactory) { this.serviceClientArgsFactory = serviceClientArgsFactory; }
/// <summary> /// Initializes a new instance of the <see cref="RemoteProductPriceManager" /> class. /// </summary> /// <param name="serviceClientArgsFactory">The service client args factory.</param> /// <param name="priceCalculatorFactory">The price calculator factory.</param> /// <param name="shopContext">The shop context.</param> public RemoteProductPriceManager(ServiceClientArgsFactory serviceClientArgsFactory, PriceCalculatorFactory priceCalculatorFactory, ShopContext shopContext) : base(priceCalculatorFactory, shopContext) { Assert.ArgumentNotNull(serviceClientArgsFactory, "serviceClientArgsFactory"); this.serviceClientArgsFactory = serviceClientArgsFactory; }