本文整理汇总了C#中IOrderService类的典型用法代码示例。如果您正苦于以下问题:C# IOrderService类的具体用法?C# IOrderService怎么用?C# IOrderService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IOrderService类属于命名空间,在下文中一共展示了IOrderService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ListingController
public ListingController(
IUnitOfWorkAsync unitOfWorkAsync,
ISettingService settingService,
ICategoryService categoryService,
IListingService listingService,
IPictureService pictureService,
IListingPictureService ListingPictureservice,
IOrderService orderService,
ICustomFieldService customFieldService,
ICustomFieldCategoryService customFieldCategoryService,
ICustomFieldListingService customFieldListingService,
ISettingDictionaryService settingDictionaryService,
IListingStatService ListingStatservice,
IEmailTemplateService emailTemplateService,
DataCacheService dataCacheService,
SqlDbService sqlDbService)
{
_settingService = settingService;
_settingDictionaryService = settingDictionaryService;
_categoryService = categoryService;
_listingService = listingService;
_pictureService = pictureService;
_ListingPictureservice = ListingPictureservice;
_orderService = orderService;
_customFieldService = customFieldService;
_customFieldCategoryService = customFieldCategoryService;
_customFieldListingService = customFieldListingService;
_ListingStatservice = ListingStatservice;
_emailTemplateService = emailTemplateService;
_dataCacheService = dataCacheService;
_sqlDbService = sqlDbService;
_unitOfWorkAsync = unitOfWorkAsync;
}
示例2: ReturnRequestController
public ReturnRequestController(IOrderService orderService,
IWorkContext workContext,
IStoreContext storeContext,
ICurrencyService currencyService,
IPriceFormatter priceFormatter,
IOrderProcessingService orderProcessingService,
ILocalizationService localizationService,
ICustomerService customerService,
IWorkflowMessageService workflowMessageService,
IDateTimeHelper dateTimeHelper,
LocalizationSettings localizationSettings,
OrderSettings orderSettings)
{
this._orderService = orderService;
this._workContext = workContext;
this._storeContext = storeContext;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._localizationService = localizationService;
this._customerService = customerService;
this._workflowMessageService = workflowMessageService;
this._dateTimeHelper = dateTimeHelper;
this._localizationSettings = localizationSettings;
this._orderSettings = orderSettings;
}
示例3: GatewayProviderService
internal GatewayProviderService(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory,
IShipMethodService shipMethodService, IShipRateTierService shipRateTierService,
IShipCountryService shipCountryService, IInvoiceService invoiceService, IOrderService orderService, ITaxMethodService taxMethodService,
IPaymentService paymentService, IPaymentMethodService paymentMethodService)
{
Mandate.ParameterNotNull(provider, "provider");
Mandate.ParameterNotNull(repositoryFactory, "repositoryFactory");
Mandate.ParameterNotNull(shipMethodService, "shipMethodService");
Mandate.ParameterNotNull(shipRateTierService, "shipRateTierService");
Mandate.ParameterNotNull(shipCountryService, "shipCountryService");
Mandate.ParameterNotNull(taxMethodService, "countryTaxRateService");
Mandate.ParameterNotNull(paymentService, "paymentService");
Mandate.ParameterNotNull(paymentMethodService, "paymentMethodService");
Mandate.ParameterNotNull(invoiceService, "invoiceService");
Mandate.ParameterNotNull(orderService, "orderService");
_uowProvider = provider;
_repositoryFactory = repositoryFactory;
_shipMethodService = shipMethodService;
_shipRateTierService = shipRateTierService;
_shipCountryService = shipCountryService;
_invoiceService = invoiceService;
_orderService = orderService;
_taxMethodService = taxMethodService;
_paymentService = paymentService;
_paymentMethodService = paymentMethodService;
}
示例4: PaymentSagePayServerController
public PaymentSagePayServerController(ISettingService settingService,
IPaymentService paymentService, IOrderService orderService,
IOrderProcessingService orderProcessingService,
ILogger logger, SagePayServerPaymentSettings sagePayServerPaymentSettings,
PaymentSettings paymentSettings, ILocalizationService localizationService,
IWorkContext workContext, ISagePayServerTransactionService sagePayServerTransactionService,
IOrderTotalCalculationService orderTotalCalculationService, ICurrencyService currencyService, CurrencySettings currencySettings,
IMobileDeviceHelper mobileDeviceHelper, OrderSettings orderSettings, HttpContextBase httpContext)
{
this._settingService = settingService;
this._paymentService = paymentService;
this._orderService = orderService;
this._orderProcessingService = orderProcessingService;
this._localizationService = localizationService;
this._sagePayServerTransactionService = sagePayServerTransactionService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._currencyService = currencyService;
this._sagePayServerPaymentSettings = sagePayServerPaymentSettings;
this._paymentSettings = paymentSettings;
this._currencySettings = currencySettings;
this._orderSettings = orderSettings;
this._logger = logger;
this._workContext = workContext;
this._httpContext = httpContext;
this._mobileDeviceHelper = mobileDeviceHelper;
}
示例5: ManageController
public ManageController(
IUnitOfWorkAsync unitOfWorkAsync,
ISettingService settingService,
ICategoryService categoryService,
IItemService itemService,
IPictureService pictureService,
IItemPictureService itemPictureService,
IOrderService orderService,
ICustomFieldService customFieldService,
ICustomFieldCategoryService customFieldCategoryService,
ICustomFieldItemService customFieldItemService,
ISettingDictionaryService settingDictionaryService,
IItemStatService itemStatService,
DataCacheService dataCacheService,
SqlDbService sqlDbService)
{
_settingService = settingService;
_settingDictionaryService = settingDictionaryService;
_categoryService = categoryService;
_itemService = itemService;
_pictureService = pictureService;
_itemPictureService = itemPictureService;
_orderService = orderService;
_customFieldService = customFieldService;
_customFieldCategoryService = customFieldCategoryService;
_customFieldItemService = customFieldItemService;
_itemStatService = itemStatService;
_dataCacheService = dataCacheService;
_sqlDbService = sqlDbService;
_unitOfWorkAsync = unitOfWorkAsync;
}
示例6: SettingController
public SettingController(ISettingService settingService,
ICountryService countryService, IStateProvinceService stateProvinceService,
IAddressService addressService, ITaxCategoryService taxCategoryService,
ICurrencyService currencyService, IPictureService pictureService,
ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
IOrderService orderService, IEncryptionService encryptionService,
IThemeProvider themeProvider, ICustomerService customerService,
ICustomerActivityService customerActivityService, IPermissionService permissionService,
IWebHelper webHelper, IFulltextService fulltextService,
IMaintenanceService maintenanceService, IStoreService storeService,
IWorkContext workContext, IGenericAttributeService genericAttributeService)
{
this._settingService = settingService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._addressService = addressService;
this._taxCategoryService = taxCategoryService;
this._currencyService = currencyService;
this._pictureService = pictureService;
this._localizationService = localizationService;
this._dateTimeHelper = dateTimeHelper;
this._orderService = orderService;
this._encryptionService = encryptionService;
this._themeProvider = themeProvider;
this._customerService = customerService;
this._customerActivityService = customerActivityService;
this._permissionService = permissionService;
this._webHelper = webHelper;
this._fulltextService = fulltextService;
this._maintenanceService = maintenanceService;
this._storeService = storeService;
this._workContext = workContext;
this._genericAttributeService = genericAttributeService;
}
示例7: MessageTokenProvider
public MessageTokenProvider(ILanguageService languageService,
ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
IEmailAccountService emailAccountService,
IPriceFormatter priceFormatter, ICurrencyService currencyService,IWebHelper webHelper,
IWorkContext workContext, IDownloadService downloadService,
IOrderService orderService, IPaymentService paymentService,
IProductAttributeParser productAttributeParser,
MessageTemplatesSettings templatesSettings,
EmailAccountSettings emailAccountSettings, CatalogSettings catalogSettings,
TaxSettings taxSettings, IEventPublisher eventPublisher)
{
this._languageService = languageService;
this._localizationService = localizationService;
this._dateTimeHelper = dateTimeHelper;
this._emailAccountService = emailAccountService;
this._priceFormatter = priceFormatter;
this._currencyService = currencyService;
this._webHelper = webHelper;
this._workContext = workContext;
this._downloadService = downloadService;
this._orderService = orderService;
this._paymentService = paymentService;
this._productAttributeParser = productAttributeParser;
this._templatesSettings = templatesSettings;
this._emailAccountSettings = emailAccountSettings;
this._catalogSettings = catalogSettings;
this._taxSettings = taxSettings;
this._eventPublisher = eventPublisher;
}
示例8: PdfService
public PdfService(ILocalizationService localizationService, IOrderService orderService,
IPaymentService paymentService,
IDateTimeHelper dateTimeHelper, IPriceFormatter priceFormatter,
ICurrencyService currencyService, IMeasureService measureService,
IPictureService pictureService, IProductService productService,
IProductAttributeParser productAttributeParser, IWebHelper webHelper,
CatalogSettings catalogSettings, CurrencySettings currencySettings,
MeasureSettings measureSettings, PdfSettings pdfSettings, TaxSettings taxSettings,
StoreInformationSettings storeInformationSettings, AddressSettings addressSettings)
{
this._localizationService = localizationService;
this._orderService = orderService;
this._paymentService = paymentService;
this._dateTimeHelper = dateTimeHelper;
this._priceFormatter = priceFormatter;
this._currencyService = currencyService;
this._measureService = measureService;
this._pictureService = pictureService;
this._productService = productService;
this._productAttributeParser = productAttributeParser;
this._webHelper = webHelper;
this._currencySettings = currencySettings;
this._catalogSettings = catalogSettings;
this._measureSettings = measureSettings;
this._pdfSettings = pdfSettings;
this._taxSettings = taxSettings;
this._storeInformationSettings = storeInformationSettings;
this._addressSettings = addressSettings;
}
示例9: CreateOrder
public Order CreateOrder(IUnitOfWork unitOfWork, ICartService cartService, IOrderService orderService, IOrderDetailService orderDetailService,
IProductService productService, ICategoryService categoryService, Order order)
{
decimal orderTotal = 0;
var cartItems = GetCartItems(cartService, productService, categoryService);
foreach (var item in cartItems)
{
var orderDetail = new OrderDetail
{
ProductId = item.ProductId,
OrderId = order.Id,
UnitPrice = item.Product.Price,
Quantity = item.Count
};
orderTotal += (item.Count * item.Product.Price);
orderDetailService.Insert(orderDetail);
}
// update total into order
order.Total = orderTotal;
orderService.Update(order);
// commit to changes
unitOfWork.SaveChanges();
//emty cart session
EmptyCart(unitOfWork, cartService);
return order;
}
示例10: OrderModel
public OrderModel(IOrderEntityFactory entityFactory, coreModel.Order innerItem, OrderClient client, IOrderService orderService)
{
_entityFactory = entityFactory;
_innerItem = innerItem;
_OrderClient = client;
_orderService = orderService;
}
示例11: FeeDisbursementService
public FeeDisbursementService(IFeeDisbursementManager feeDisbursementManager, IDocumentService documentService, INachaFileGenerationService nachaFileGenerationService, IOrderService orderService)
{
_documentService = ValidationUtil.CheckOnNullAndThrowIfNull(documentService);
_feeDisbursementManager = ValidationUtil.CheckOnNullAndThrowIfNull(feeDisbursementManager);
_nachaFileGenerationService = ValidationUtil.CheckOnNullAndThrowIfNull(nachaFileGenerationService);
_orderService = ValidationUtil.CheckOnNullAndThrowIfNull(orderService);
}
示例12: BasketValidationResults
public BasketValidationResults(OrderInfo order, IOrderService orderService)
{
_order = order;
_orderService = orderService;
}
示例13: AccountController
public AccountController(ApplicationUserManager userManager, IOrderService orderService,
IOptionService optionService)
{
this.orderService = orderService;
this.optionService = optionService;
UserManager = userManager;
}
示例14: CheckoutController
public CheckoutController(IWorkContext workContext,
IShoppingCartService shoppingCartService, ILocalizationService localizationService,
ITaxService taxService, ICurrencyService currencyService,
IPriceFormatter priceFormatter, IOrderProcessingService orderProcessingService,
ICustomerService customerService, ICountryService countryService,
IStateProvinceService stateProvinceService, IShippingService shippingService,
IPaymentService paymentService, IOrderTotalCalculationService orderTotalCalculationService,
ILogger logger, IOrderService orderService, IWebHelper webHelper,
OrderSettings orderSettings, RewardPointsSettings rewardPointsSettings,
PaymentSettings paymentSettings)
{
this._workContext = workContext;
this._shoppingCartService = shoppingCartService;
this._localizationService = localizationService;
this._taxService = taxService;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._customerService = customerService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._shippingService = shippingService;
this._paymentService = paymentService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._logger = logger;
this._orderService = orderService;
this._webHelper = webHelper;
this._orderSettings = orderSettings;
this._rewardPointsSettings = rewardPointsSettings;
this._paymentSettings = paymentSettings;
}
示例15: OrderRepository
public OrderRepository(IOrderService orderService, IAccountService accountService, IShippingMethodService shippingMethodService, ISuspensionManagerState suspensionManagerState)
{
_orderService = orderService;
_accountService = accountService;
_shippingMethodService = shippingMethodService;
_suspensionManagerState = suspensionManagerState;
}