本文整理汇总了C#中IOrderRepository类的典型用法代码示例。如果您正苦于以下问题:C# IOrderRepository类的具体用法?C# IOrderRepository怎么用?C# IOrderRepository使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IOrderRepository类属于命名空间,在下文中一共展示了IOrderRepository类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: OrderMediator
public OrderMediator(IOrderRepository orderRepository,
Action<OrderMatch, FixSessionID> orderMatchCallback)
{
_orderRepository = orderRepository;
_orderMatchCallback = orderMatchCallback;
_orderRepository.OrdersMatched += OnOrdersMatched;
}
开发者ID:naziway,项目名称:testtask,代码行数:7,代码来源:OrderMediator.cs
示例2: ImportService
public ImportService(IImportRepository importRepository, IAssetService blobProvider, ICatalogRepository catalogRepository, IOrderRepository orderRepository, IAppConfigRepository appConfigRepository, IRepositoryFactory<IAppConfigRepository> appConfigRepositoryFactory)
{
_orderRepository = orderRepository;
_catalogRepository = catalogRepository;
_importJobRepository = importRepository;
_appConfigRepository = appConfigRepository;
_appConfigRepositoryFactory = appConfigRepositoryFactory;
_assetProvider = blobProvider;
_entityImporters = new List<IEntityImporter>
{
new ItemImporter() { Name = "Product"},
new ItemImporter() { Name = "Sku"},
new ItemImporter() { Name = "Bundle"},
new ItemImporter() { Name = "DynamicKit"},
new ItemImporter() { Name = "Package"},
new PriceImporter(_catalogRepository),
new AssociationImporter(_catalogRepository),
new RelationImporter(_catalogRepository),
new CategoryImporter(),
new LocalizationImporter(),
new TaxValueImporter(),
new ItemAssetImporter(),
new TaxCategoryImporter(),
new JurisdictionImporter(),
new JurisdictionGroupImporter(),
new SeoImporter()
};
_importResults = new Dictionary<string, ImportResult>();
}
开发者ID:Wdovin,项目名称:vc-community,代码行数:31,代码来源:ImportService.cs
示例3: OrderApiService
public OrderApiService(
ICommandHandler<MakeOrderCommand> commmHandler,
IOrderRepository repository)
{
_commmHandler = commmHandler;
_repository = repository;
}
开发者ID:aburok,项目名称:NorthwindStore,代码行数:7,代码来源:OrderApiService.cs
示例4: CustomerController
public CustomerController(ICustomerRepository customerRepository, INotificationProvider notificationProvider, IOrderRepository ordersRepository, ILogger logger)
{
_customerRepository = customerRepository;
_notificationProvider = notificationProvider;
_ordersRepository = ordersRepository;
_logger = logger;
}
开发者ID:KalyanArangam,项目名称:SSWTV.DevSuperPower.DI,代码行数:7,代码来源:CustomerController.cs
示例5: CheckoutSummaryPageViewModel
public CheckoutSummaryPageViewModel(INavigationService navigationService,
IOrderService orderService,
IOrderRepository orderRepository,
IShippingMethodService shippingMethodService,
ICheckoutDataRepository checkoutDataRepository,
IShoppingCartRepository shoppingCartRepository,
IAccountService accountService,
IResourceLoader resourceLoader,
IAlertMessageService alertMessageService,
ISignInUserControlViewModel signInUserControlViewModel)
{
_navigationService = navigationService;
_orderService = orderService;
_orderRepository = orderRepository;
_shippingMethodService = shippingMethodService;
_checkoutDataRepository = checkoutDataRepository;
_shoppingCartRepository = shoppingCartRepository;
_resourceLoader = resourceLoader;
_accountService = accountService;
_alertMessageService = alertMessageService;
_signInUserControlViewModel = signInUserControlViewModel;
SubmitCommand = DelegateCommand.FromAsyncHandler(SubmitAsync, CanSubmit);
EditCheckoutDataCommand = new DelegateCommand(EditCheckoutData);
SelectCheckoutDataCommand = new DelegateCommand(async () => await SelectCheckoutDataAsync());
AddCheckoutDataCommand = new DelegateCommand(AddCheckoutData);
}
开发者ID:CruzerBoon,项目名称:Prism-Samples-Windows,代码行数:28,代码来源:CheckoutSummaryPageViewModel.cs
示例6: OrderClient
public OrderClient(IOrderStateController stateController, IOrderRepository orderRepository,
ICacheRepository cacheRepository)
{
_stateController = stateController;
_orderRepository = orderRepository;
_cacheRepository = cacheRepository;
}
开发者ID:karpinskiy,项目名称:vc-community,代码行数:7,代码来源:OrderClient.cs
示例7: AlertService
public AlertService(IOrderRepository orderRepository, IInstrumentRepository instrumentRepository, IAlertRepository alertRepository, IAlertManager alertManager )
{
_orderRepository = orderRepository;
_instrumentRepository = instrumentRepository;
_alertRepository = alertRepository;
_alertManager = alertManager;
}
开发者ID:wasztemborski,项目名称:dev,代码行数:7,代码来源:AlertService.cs
示例8: CartService
public CartService(
IProductService productService,
IPricingService pricingService,
IOrderFactory orderFactory,
CustomerContextFacade customerContext,
IPlacedPriceProcessor placedPriceProcessor,
IInventoryProcessor inventoryProcessor,
ILineItemValidator lineItemValidator,
IOrderRepository orderRepository,
IPromotionEngine promotionEngine,
IAddressBookService addressBookService,
ICurrentMarket currentMarket,
ICurrencyService currencyService)
{
_productService = productService;
_pricingService = pricingService;
_orderFactory = orderFactory;
_customerContext = customerContext;
_placedPriceProcessor = placedPriceProcessor;
_inventoryProcessor = inventoryProcessor;
_lineItemValidator = lineItemValidator;
_promotionEngine = promotionEngine;
_orderRepository = orderRepository;
_addressBookService = addressBookService;
_currentMarket = currentMarket;
_currencyService = currencyService;
}
开发者ID:adrian18hd,项目名称:Quicksilver,代码行数:27,代码来源:CartService.cs
示例9: ShoppingCartPageViewModel
public ShoppingCartPageViewModel(IShoppingCartRepository shoppingCartRepository,
INavigationService navigationService,
IAccountService accountService,
ISignInUserControlViewModel signInUserControlViewModel,
IResourceLoader resourceLoader,
IAlertMessageService alertMessageService,
ICheckoutDataRepository checkoutDataRepository,
IOrderRepository orderRepository,
IEventAggregator eventAggregator)
{
_shoppingCartRepository = shoppingCartRepository;
_navigationService = navigationService;
_accountService = accountService;
_signInUserControlViewModel = signInUserControlViewModel;
_resourceLoader = resourceLoader;
_alertMessageService = alertMessageService;
_checkoutDataRepository = checkoutDataRepository;
_orderRepository = orderRepository;
CheckoutCommand = DelegateCommand.FromAsyncHandler(CheckoutAsync, CanCheckout);
RemoveCommand = DelegateCommand<ShoppingCartItemViewModel>.FromAsyncHandler(Remove);
IncrementCountCommand = DelegateCommand.FromAsyncHandler(IncrementCount);
DecrementCountCommand = DelegateCommand.FromAsyncHandler(DecrementCount, CanDecrementCount);
// Subscribe to the ShoppingCartUpdated event
if (eventAggregator != null)
{
eventAggregator.GetEvent<ShoppingCartUpdatedEvent>().Subscribe(UpdateShoppingCartAsync);
}
}
开发者ID:CruzerBoon,项目名称:Prism-Samples-Windows,代码行数:30,代码来源:ShoppingCartPageViewModel.cs
示例10: OrderRepositoryCacheProxy
public OrderRepositoryCacheProxy(
IOrderRepository innerRepository,
ICache cache)
{
_innerRepository = innerRepository;
_cache = cache;
}
开发者ID:aburok,项目名称:NorthwindStore,代码行数:7,代码来源:IOrderRepository.cs
示例11: EmailOrderSubmitter
public EmailOrderSubmitter(string mailTo, IOrderRepository orderRepository, IOrderItemRepository orderItemRepository, IDeliveryRepository deliveryRepository)
{
this.mailTo = mailTo;
this.orderRepository = orderRepository;
this.orderItemRepository = orderItemRepository;
this.deliveryRepository = deliveryRepository;
}
开发者ID:jonmccarthy,项目名称:MVCEntApp,代码行数:7,代码来源:EmailOrderSubmitter.cs
示例12: HomeController
public HomeController(IWaiterRepository waiterRepository, IRestaurantRepository restaurantRepository, IOrderRepository orderRepository, IOrderCreatingRepository orderCreatingRepository)
{
this.waiterRepository = waiterRepository;
this.restaurantRepository = restaurantRepository;
this.orderRepository = orderRepository;
this.orderCreatingRepository = orderCreatingRepository;
}
开发者ID:tomsdev,项目名称:youfood-aspmvc,代码行数:7,代码来源:HomeController.cs
示例13: OrderControllerService
public OrderControllerService(IOrderRepository orderRepository, ICatalogService catalogService, IOrderRequestService requestService, IShipmentService shipmentService )
{
_orderRepository = orderRepository;
_catalogService = catalogService;
_requestService = requestService;
_shipmentService = shipmentService;
}
开发者ID:pachinko,项目名称:naa4e,代码行数:7,代码来源:OrderControllerService.cs
示例14: OrderController
public OrderController(ICustomerRepository customerRepository,
IOrderRepository orderRepository)
: base(customerRepository)
{
_orderRepository = orderRepository;
_customerRepository = customerRepository;
}
开发者ID:RayLiu1106,项目名称:TailspinDemo,代码行数:7,代码来源:OrderController.cs
示例15: OrderService
public OrderService(IOrderRepository orderRepository, ICustomerFactory customerFactory, IEmailService emailService, IOrderSettings orderSettings)
{
_orderRepository = orderRepository;
_customerFactory = customerFactory;
_emailService = emailService;
_orderSettings = orderSettings;
}
开发者ID:episerver,项目名称:Commerce-Demo-Kit,代码行数:7,代码来源:OrderService.cs
示例16: FeeDisbursementManager
public FeeDisbursementManager(IReferenceManagement referenceManager, IOrderRepository orderRepository, ICryptographicProvider cryptographicProvider)
{
_cryptographicProvider = ValidationUtil.CheckOnNullAndThrowIfNull(cryptographicProvider);
_referenceManager = ValidationUtil.CheckOnNullAndThrowIfNull(referenceManager);
_orderRepository = ValidationUtil.CheckOnNullAndThrowIfNull(orderRepository);
_dateTimeManager = new DateTimeManager(_referenceManager);
}
开发者ID:evkap,项目名称:DVS,代码行数:7,代码来源:FeeDisbursementManager.cs
示例17: OrderApplicationService
public OrderApplicationService(IOrderRepository orderRepository, IUserRepository userRepository, IProductRepository productRepository, IUnitOfWork unitOfWork)
: base(unitOfWork)
{
this._orderRepository = orderRepository;
this._userRepository = userRepository;
this._productRepository = productRepository;
}
开发者ID:andrebaltieri,项目名称:mwa-api,代码行数:7,代码来源:OrderApplicationService.cs
示例18: OrderService
public OrderService(IOrderRepository orderRepository, IBasketRepository basketRepository, ICustomerRepository customerRepository, IUnitOfWork uow)
{
_customerRepository = customerRepository;
_orderRepository = orderRepository;
_basketRepository = basketRepository;
_uow = uow;
}
开发者ID:robertnadar,项目名称:AspNetDesign,代码行数:7,代码来源:OrderService.cs
示例19: OrderApplicationService
// private readonly IApprovableDomainService _approvableDomainService;
// private readonly IGoodPartyAssignmentDomainService _goodPartyAssignmentDomainService;
public OrderApplicationService(IOrderRepository orderRepository,
IUnitOfWorkScope unitOfWorkScope,
// IGoodPartyAssignmentDomainService goodPartyAssignmentDomainService,
//IFuelUserRepository userRepository,
IVesselInCompanyDomainService vesselDomainService,
IGoodDomainService goodDomainService,
IOrderFactory iOrderFactory,
ICompanyDomainService companyDomainService,
IOrderItemDomainService orderItemDomainService,
IEntityConfigurator<Order> orderConfigurator
//,IApprovableDomainService approvableDomainService
)
{
this.orderRepository = orderRepository;
this.vesselDomainService = vesselDomainService;
this.goodDomainService = goodDomainService;
this.iOrderFactory = iOrderFactory;
this.unitOfWorkScope = unitOfWorkScope;
this.companyDomainService = companyDomainService;
this.orderItemDomainService = orderItemDomainService;
this.orderConfigurator = orderConfigurator;
// _approvableDomainService = approvableDomainService;
// _goodPartyAssignmentDomainService = goodPartyAssignmentDomainService;
}
开发者ID:hatefi-arman,项目名称:Modules,代码行数:27,代码来源:OrderApplicationService.cs
示例20: MyAccountViewModelBuilder
public MyAccountViewModelBuilder(string userEmail, ICustomerAccountService customerAccountService, IOrderRepository orderRepository, IMappingEngine mapper)
{
this.userEmail = userEmail;
this.customerAccountService = customerAccountService;
this.orderRepository = orderRepository;
this.mapper = mapper;
}
开发者ID:mamluka,项目名称:JewelryONet,代码行数:7,代码来源:MyAccountViewModelBuilder.cs
注:本文中的IOrderRepository类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论