public OrderController(IOrderAppService OrderAppService, IMemoryCache cache, INotificationHandler <DomainNotification> notifications) { _OrderAppService = OrderAppService; _cache = cache; // 强类型转换 _notifications = (DomainNotificationHandler)notifications; }
public OrderController( IOrderAppService orderAppService, INotificationHandler <DomainNotification> notifications, IMediatorHandler mediator) : base(notifications, mediator) { _orderAppService = orderAppService; }
public OrdersController(IOrderAppService orderAppService, ILookupAppService lookupAppService, IAbpSession session, ISubSalesRepAppService subSalesRepAppService) { _orderAppService = orderAppService; _lookupAppService = lookupAppService; _session = session; _subSalesRepAppService = subSalesRepAppService; }
public OrderController( IOrderAppService orderAppService, IDeliveryChargeAppService deliveryChargeAppService) { DeliveryChargeAppService = deliveryChargeAppService; OrderAppService = orderAppService; }
public OrderItemAppService(IRepository <Models.OrderItem, Guid> repository, IProductAppService productAppService, IOrderAppService orderAppService) { _repository = repository; _productAppService = productAppService; _orderAppService = orderAppService; }
public OrderController(IOrderAppService orderService, ICustomerAppService customerService, IProductAppService productService) { _orderService = orderService; _customerService = customerService; _productService = productService; }
public OrderController(ICustomerAppService customerAppService, IOrderAppService orderAppService, IProductAppService productAppService, IMapper mapper) { this.customerAppService = customerAppService; this.orderAppService = orderAppService; this.productAppService = productAppService; this.mapper = mapper; }
public PayController( IOrderAppService orderAppService, IRepository <Order> orderRepository, IRepository <UserLogin, long> userLoginRepository) { _orderAppService = orderAppService; _orderRepository = orderRepository; _userLoginRepository = userLoginRepository; }
public ClientDemoService( IOrderAppService orderAppService, IIdentityModelAuthenticationService authenticationService, IConfiguration configuration) { _orderAppService = orderAppService; _authenticationService = authenticationService; _configuration = configuration; }
public CapEventSubscriber( IOrderAppService orderSrv, ILogger <CapEventSubscriber> logger, MessageTrackerFactory trackerFactory) { _orderSrv = orderSrv; _logger = logger; _tracker = trackerFactory.Create(); }
public PaymentAppService( IDistributedEventBus distributedEventBus, IOrderAppService orderAppService, IPaymentRepository repository) : base(repository) { _distributedEventBus = distributedEventBus; _orderAppService = orderAppService; _repository = repository; }
public ProductController(IProductAppService productAppService1, IProductAppService productAppService2, IOrderAppService orderAppService1, IOrderAppService orderAppService2, ITransientTestAppService transientTestAppService1, ITransientTestAppService transientTestAppService2, IHostApplicationLifetime lifetime) { _lifetime = lifetime; }
public HomeFactory(IRepository <Models.Customer, Guid> repository, IRepository <User, long> userRepository, IRepository <Models.Product, Guid> productRepository, IOrderAppService orderAppService ) { _repository = repository; _userRepository = userRepository; _productRepository = productRepository; _orderAppService = orderAppService; }
public PaymentAppService( IPayableChecker payableChecker, IDistributedEventBus distributedEventBus, IOrderAppService orderAppService, IPaymentRepository repository) : base(repository) { _payableChecker = payableChecker; _distributedEventBus = distributedEventBus; _orderAppService = orderAppService; _repository = repository; }
public IndexModel( IOrderAppService orderAppService, IStoreAppService storeAppService, IProductAppService productAppService, IAccountAppService accountAppService) { _orderAppService = orderAppService; _storeAppService = storeAppService; _productAppService = productAppService; _accountAppService = accountAppService; }
public OrderJob(ProductManager productManager, OrderManager orderManager, CartManager cartManager, UserManager userManager, IOrderAppService orderService) { _productManager = productManager; _orderManager = orderManager; _cartManager = cartManager; _userManager = userManager; _orderService = orderService; }
public OrderFactory(IOrderAppService appService, IAddressAppService addressAppService, ICustomerAppService customerAppService, ICompanyAppService companyAppService, IPaymentTypeAppService paymentTypeAppService) { _appService = appService; _addressAppService = addressAppService; _customerAppService = customerAppService; _companyAppService = companyAppService; _paymentTypeAppService = paymentTypeAppService; }
public OrderController(IOrderAppService orderAppService, ITableServiceAppService tableServiceAppService, IDishAppService dishAppService, IOptionAppService optionAppService, ICategoryAppService categoryAppService) { this.orderAppService = orderAppService; this.tableServiceAppService = tableServiceAppService; this.dishAppService = dishAppService; this.optionAppService = optionAppService; this.categoryAppService = categoryAppService; }
public RefundAppService( IOrderAppService orderAppService, IDistributedEventBus distributedEventBus, IPaymentRepository paymentRepository, IJsonSerializer jsonSerializer, IRefundRepository repository) : base(repository) { _orderAppService = orderAppService; _distributedEventBus = distributedEventBus; _paymentRepository = paymentRepository; _jsonSerializer = jsonSerializer; _repository = repository; }
public SYQWXController(IWechatAppConfigAppService wechatAppConfigAppService, IWeChatOAuthAppService weChatOAuthAppService, IWeChatUserAppService weChatUserAppService, IOrderAppService orderAppService, IActivityAppService activityAppService ) : base(wechatAppConfigAppService) { InitAppConfigSetting(); _weChatOAuthAppService = weChatOAuthAppService; _weChatOAuthAppService.WechatAppConfig = WechatAppConfig;//注入配置 _weChatUserAppService = weChatUserAppService; _orderAppService = orderAppService; _activityAppService = activityAppService; }
public PaymentData() : base("UniCloud.Application.PaymentBC.DTO", UniContainer.Resolve<IQueryableUnitOfWork>()) { _creditNoteAppService = UniContainer.Resolve<ICreditNoteAppService>(); _currencyAppService = UniContainer.Resolve<ICurrencyAppService>(); _leaseInvoiceAppService = UniContainer.Resolve<ILeaseInvoiceAppService>(); _prepaymentInvoiceAppService = UniContainer.Resolve<IPrepaymentInvoiceAppService>(); _purchaseInvoiceAppService = UniContainer.Resolve<IPurchaseInvoiceAppService>(); _maintainInvoiceAppService = UniContainer.Resolve<IMaintainInvoiceAppService>(); _contractAircraftAppService = UniContainer.Resolve<IContractAircraftAppService>(); _contractEngineAppService = UniContainer.Resolve<IContractEngineAppService>(); _orderAppService = UniContainer.Resolve<IOrderAppService>(); _paymentScheduleAppService = UniContainer.Resolve<IPaymentScheduleAppService>(); _paymentNoticeAppService = UniContainer.Resolve<IPaymentNoticeAppService>(); _guaranteeAppService = UniContainer.Resolve<IGuaranteeAppService>(); _maintainContractAppService = UniContainer.Resolve<IMaintainContractAppService>(); _supplierAppService = UniContainer.Resolve<ISupplierAppService>(); _maintainCostAppService = UniContainer.Resolve<IMaintainCostAppService>(); }
public OrderServiceTest() { //var sqlConnectionStringBuilder = new SqlConnectionStringBuilder //{ // DataSource = "(local)", // InitialCatalog = "GameId", // UserID = "sa", // Password = "******" //}; var mockSecurityService = new Mock <ISecurityService>(); mockSecurityService.Setup(foo => foo.IsExistsBlackList("us001")).Returns(false); var serviceProvider = new ServiceCollection() .AddLogging() .AddHttpClient() .AddMediatR() .AddScoped <IBizofferAppService, BizofferAppService>() .AddScoped <IBizofferRepository, BizofferRepository>() .AddScoped <IOrderAppService, OrderAppService>() .AddScoped <IPlaceOrderService, PlaceOrderService>() .AddScoped <IBizofferService, BizofferServiceClient>() .AddScoped <ISellerRepository, SellerRepository>() //.AddScoped<ISecurityService,SecurityServiceClient>() .AddScoped(typeof(ISecurityService), sp => mockSecurityService.Object) .AddScoped <IOrderRepository, OrderRepository>() .AddScoped <IUnitOfWork, UnitOfWork>() .AddDbContext <GameId.Infrastructure.AppContext>(options => { //options.UseSqlServer(sqlConnectionStringBuilder.ConnectionString); }) .BuildServiceProvider(); orderAppService = serviceProvider.GetService <IOrderAppService>(); placeOrderService = serviceProvider.GetService <IPlaceOrderService>(); }
public OrderController(IOrderAppService service) { _service = service; }
public ShoppingCart(ICartAppService cartAppService, IOrderDetailAppService orderDetailAppService, IOrderAppService orderAppService) { _cartAppService = cartAppService; _orderDetailAppService = orderDetailAppService; _orderAppService = orderAppService; }
public OrderController(IOrderAppService orderAppService) { _orderAppService = orderAppService; }
public OrderController(IOrderAppService OrderAppService, INotificationHandler <DomainNotification> notification) { _OrderAppService = OrderAppService; _notification = (DomainNotificationHandler)notification; }
/// <summary> /// 构造函数 /// </summary> public WarehouseQtyBlockedEventSubscriber(IOrderAppService orderAppSrv) { _orderAppSrv = orderAppSrv; }
public CheckoutController(IOrderAppService orderAppService) { _orderAppService = orderAppService; }
public OrdersController(UserManager <EllegiaUser> userManager, IOrderAppService orderAppService) { _orderAppService = orderAppService; _userManager = userManager; }
public OrderController(IOrderAppService OrderAppService) { _OrderAppService = OrderAppService; }
public void Setup() { var orderRepository = new Repository <OrderManagement.Core.Order.Order>(OrderManagementInMemoryDbContext); _orderService = new OrderAppService(orderRepository); }
public OrderAppServiceTests() { _orderAppService = GetRequiredService <IOrderAppService>(); }
public OrderController(IOrderAppService orderSrv) { _orderSrv = orderSrv; }
public MultiLingual_Mapping_Tests() { _productAppService = Resolve <IProductAppService>(); _orderAppService = Resolve <IOrderAppService>(); Resolve <IMultiTenancyConfig>().IsEnabled = true; }