/// <summary> /// Initializes a new instance of the <see cref="OrderStateListPresenter"/> class. /// </summary> /// <param name="view">The view.</param> /// <param name="order">The order.</param> /// <param name="merchantOrderStateConfiguration">The merchant order state configuration.</param> /// <param name="orderStateListValidator">The order state list validator.</param> public OrderStateListPresenter([NotNull] IOrderStateListView view, [NotNull] Order order, [NotNull] MerchantOrderStateConfiguration merchantOrderStateConfiguration, [NotNull] OrderStateListValidator orderStateListValidator) { Assert.ArgumentNotNull(view, "view"); Assert.ArgumentNotNull(order, "order"); Assert.ArgumentNotNull(merchantOrderStateConfiguration, "merchantOrderStateConfiguration"); Assert.ArgumentNotNull(orderStateListValidator, "orderStateListValidator"); this.view = view; this.order = order; this.merchantOrderStateConfiguration = merchantOrderStateConfiguration; this.orderStateListValidator = orderStateListValidator; }
/// <summary> /// Initializes a new instance of the <see cref="OrderStateListPresenter"/> class. /// </summary> /// <param name="view">The view.</param> /// <param name="order">The order.</param> /// <param name="merchantOrderStateConfiguration">The merchant order state configuration.</param> /// <param name="orderStateListValidator">The order state list validator.</param> public OrderStateListPresenter([NotNull] IOrderStateListView view, [NotNull] Order order, [NotNull] MerchantOrderStateConfiguration merchantOrderStateConfiguration, [NotNull] OrderStateListValidator orderStateListValidator) { Assert.ArgumentNotNull(view, "view"); Assert.ArgumentNotNull(order, "order"); Assert.ArgumentNotNull(merchantOrderStateConfiguration, "merchantOrderStateConfiguration"); Assert.ArgumentNotNull(orderStateListValidator, "orderStateListValidator"); this.view = view; this.order = order; this.merchantOrderStateConfiguration = merchantOrderStateConfiguration; this.orderStateListValidator = orderStateListValidator; }
/// <summary> /// Initializes a new instance of the <see cref="CreateOrderActionPresenter" /> class. /// </summary> /// <param name="view">The view.</param> /// <param name="orderSecurity">The merchant order security.</param> /// <param name="orderFactory">The order factory.</param> /// <param name="orderManager">The order manager.</param> /// <param name="stateConfiguration">The state configuration.</param> public CreateOrderActionPresenter([NotNull] ICreateOrderActionView view, [NotNull] MerchantOrderSecurity orderSecurity, [NotNull] IOrderFactory orderFactory, [NotNull] MerchantOrderManager orderManager, [NotNull] MerchantOrderStateConfiguration stateConfiguration) { Assert.ArgumentNotNull(view, "view"); Assert.ArgumentNotNull(orderSecurity, "orderSecurity"); Assert.ArgumentNotNull(orderFactory, "orderFactory"); Assert.ArgumentNotNull(orderManager, "orderManager"); Assert.ArgumentNotNull(stateConfiguration, "stateConfiguration"); this.view = view; this.orderSecurity = orderSecurity; this.orderFactory = orderFactory; this.orderManager = orderManager; this.stateConfiguration = stateConfiguration; }
/// <summary> /// Initializes a new instance of the <see cref="MerchantOrderStateConfigurationAdapter"/> class. /// </summary> /// <param name="merchantOrderStateConfiguration">The merchant order state configuration.</param> public MerchantOrderStateConfigurationAdapter([NotNull] MerchantOrderStateConfiguration merchantOrderStateConfiguration) { Assert.ArgumentNotNull(merchantOrderStateConfiguration, "merchantOrderStateConfiguration"); this.merchantOrderStateConfiguration = merchantOrderStateConfiguration; }
/// <summary> /// Initializes a new instance of the <see cref="MerchantOrderStateConfigurationAdapter"/> class. /// </summary> /// <param name="merchantOrderStateConfiguration">The merchant order state configuration.</param> public MerchantOrderStateConfigurationAdapter([NotNull] MerchantOrderStateConfiguration merchantOrderStateConfiguration) { Assert.ArgumentNotNull(merchantOrderStateConfiguration, "merchantOrderStateConfiguration"); this.merchantOrderStateConfiguration = merchantOrderStateConfiguration; }