/// <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; }