本文整理汇总了C#中ICommonServices类的典型用法代码示例。如果您正苦于以下问题:C# ICommonServices类的具体用法?C# ICommonServices怎么用?C# ICommonServices使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ICommonServices类属于命名空间,在下文中一共展示了ICommonServices类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PluginController
public PluginController(IPluginFinder pluginFinder,
IPermissionService permissionService,
ILanguageService languageService,
PaymentSettings paymentSettings,
ShippingSettings shippingSettings,
TaxSettings taxSettings,
ExternalAuthenticationSettings externalAuthenticationSettings,
WidgetSettings widgetSettings,
IProviderManager providerManager,
PluginMediator pluginMediator,
ICommonServices commonService)
{
this._pluginFinder = pluginFinder;
this._permissionService = permissionService;
this._languageService = languageService;
this._paymentSettings = paymentSettings;
this._shippingSettings = shippingSettings;
this._taxSettings = taxSettings;
this._externalAuthenticationSettings = externalAuthenticationSettings;
this._widgetSettings = widgetSettings;
this._providerManager = providerManager;
this._pluginMediator = pluginMediator;
this._commonService = commonService;
T = NullLocalizer.Instance;
}
示例2: ForumService
public ForumService(ICacheManager cacheManager,
IRepository<ForumGroup> forumGroupRepository,
IRepository<Forum> forumRepository,
IRepository<ForumTopic> forumTopicRepository,
IRepository<ForumPost> forumPostRepository,
IRepository<PrivateMessage> forumPrivateMessageRepository,
IRepository<ForumSubscription> forumSubscriptionRepository,
ForumSettings forumSettings,
IRepository<Customer> customerRepository,
IGenericAttributeService genericAttributeService,
ICustomerService customerService,
IWorkflowMessageService workflowMessageService,
IRepository<StoreMapping> storeMappingRepository,
ICommonServices services)
{
_cacheManager = cacheManager;
_forumGroupRepository = forumGroupRepository;
_forumRepository = forumRepository;
_forumTopicRepository = forumTopicRepository;
_forumPostRepository = forumPostRepository;
_forumPrivateMessageRepository = forumPrivateMessageRepository;
_forumSubscriptionRepository = forumSubscriptionRepository;
_forumSettings = forumSettings;
_customerRepository = customerRepository;
_genericAttributeService = genericAttributeService;
_customerService = customerService;
_workflowMessageService = workflowMessageService;
_storeMappingRepository = storeMappingRepository;
_services = services;
}
示例3: PayPalExpressController
public PayPalExpressController(
IPaymentService paymentService, IOrderService orderService,
IOrderProcessingService orderProcessingService,
ILogger logger,
PaymentSettings paymentSettings, ILocalizationService localizationService,
OrderSettings orderSettings,
ICurrencyService currencyService, CurrencySettings currencySettings,
IOrderTotalCalculationService orderTotalCalculationService, ICustomerService customerService,
IGenericAttributeService genericAttributeService,
IComponentContext ctx, ICommonServices services,
IStoreService storeService)
{
_paymentService = paymentService;
_orderService = orderService;
_orderProcessingService = orderProcessingService;
_logger = logger;
_paymentSettings = paymentSettings;
_localizationService = localizationService;
_orderSettings = orderSettings;
_currencyService = currencyService;
_currencySettings = currencySettings;
_orderTotalCalculationService = orderTotalCalculationService;
_customerService = customerService;
_genericAttributeService = genericAttributeService;
_services = services;
_storeService = storeService;
_helper = new PluginHelper(ctx, "SmartStore.PayPal", "Plugins.Payments.PayPalExpress");
T = NullLocalizer.Instance;
}
示例4: FroogleFeedPlugin
public FroogleFeedPlugin(
IGoogleFeedService googleService,
ICommonServices services)
{
_googleService = googleService;
_services = services;
}
示例5: SetUp
public new void SetUp()
{
_store = new Store() { Id = 1 };
_storeContext = MockRepository.GenerateMock<IStoreContext>();
_storeContext.Expect(x => x.CurrentStore).Return(_store);
_discountService = MockRepository.GenerateMock<IDiscountService>();
_categoryService = MockRepository.GenerateMock<ICategoryService>();
_productAttributeParser = MockRepository.GenerateMock<IProductAttributeParser>();
_productService = MockRepository.GenerateMock<IProductService>();
_productAttributeService = MockRepository.GenerateMock<IProductAttributeService>();
_downloadService = MockRepository.GenerateMock<IDownloadService>();
_commonServices = MockRepository.GenerateMock<ICommonServices>();
_commonServices.Expect(x => x.StoreContext).Return(_storeContext);
_httpRequestBase = MockRepository.GenerateMock<HttpRequestBase>();
_taxService = MockRepository.GenerateMock<ITaxService>();
_shoppingCartSettings = new ShoppingCartSettings();
_catalogSettings = new CatalogSettings();
_priceCalcService = new PriceCalculationService(_discountService, _categoryService, _productAttributeParser, _productService, _shoppingCartSettings, _catalogSettings,
_productAttributeService, _downloadService, _commonServices, _httpRequestBase, _taxService);
}
示例6: ExportManager
public ExportManager(ICategoryService categoryService,
IManufacturerService manufacturerService,
IProductService productService,
IProductAttributeService productAttributeService,
IProductTemplateService productTemplateService,
IPictureService pictureService,
INewsLetterSubscriptionService newsLetterSubscriptionService,
ILanguageService languageService,
MediaSettings mediaSettings,
ICommonServices services,
IStoreMappingService storeMappingService)
{
_categoryService = categoryService;
_manufacturerService = manufacturerService;
_productService = productService;
_productAttributeService = productAttributeService;
_productTemplateService = productTemplateService;
_pictureService = pictureService;
_newsLetterSubscriptionService = newsLetterSubscriptionService;
_languageService = languageService;
_mediaSettings = mediaSettings;
_services = services;
_storeMappingService = storeMappingService;
Logger = NullLogger.Instance;
}
示例7: GoogleMerchantCenterFeedPlugin
public GoogleMerchantCenterFeedPlugin(
IGoogleFeedService googleFeedService,
ICommonServices services)
{
_googleFeedService = googleFeedService;
_services = services;
}
示例8: GoogleFeedService
public GoogleFeedService(
IRepository<GoogleProductRecord> gpRepository,
IProductService productService,
IManufacturerService manufacturerService,
FroogleSettings settings,
IMeasureService measureService,
MeasureSettings measureSettings,
IDbContext dbContext,
AdminAreaSettings adminAreaSettings,
ICurrencyService currencyService,
ICommonServices services,
IComponentContext ctx)
{
_gpRepository = gpRepository;
_productService = productService;
_manufacturerService = manufacturerService;
Settings = settings;
_measureService = measureService;
_measureSettings = measureSettings;
_dbContext = dbContext;
_adminAreaSettings = adminAreaSettings;
_currencyService = currencyService;
_services = services;
_helper = new FeedPluginHelper(ctx, "SmartStore.GoogleMerchantCenter", "SmartStore.GoogleMerchantCenter", () =>
{
return Settings as PromotionFeedSettings;
});
}
示例9: PriceCalculationService
public PriceCalculationService(
IDiscountService discountService,
ICategoryService categoryService,
IProductAttributeParser productAttributeParser,
IProductService productService,
ShoppingCartSettings shoppingCartSettings,
CatalogSettings catalogSettings,
IProductAttributeService productAttributeService,
IDownloadService downloadService,
ICommonServices services,
HttpRequestBase httpRequestBase,
ITaxService taxService)
{
this._discountService = discountService;
this._categoryService = categoryService;
this._productAttributeParser = productAttributeParser;
this._productService = productService;
this._shoppingCartSettings = shoppingCartSettings;
this._catalogSettings = catalogSettings;
this._productAttributeService = productAttributeService;
this._downloadService = downloadService;
this._services = services;
this._httpRequestBase = httpRequestBase;
this._taxService = taxService;
}
示例10: NewsLetterSubscriptionImporter
public NewsLetterSubscriptionImporter(
ICommonServices services,
IRepository<NewsLetterSubscription> subscriptionRepository)
{
_services = services;
_subscriptionRepository = subscriptionRepository;
}
示例11: HomeController
public HomeController(
ICommonServices services,
Lazy<ICategoryService> categoryService,
Lazy<IProductService> productService,
Lazy<IManufacturerService> manufacturerService,
Lazy<ITopicService> topicService,
Lazy<IQueuedEmailService> queuedEmailService,
Lazy<IEmailAccountService> emailAccountService,
Lazy<ISitemapGenerator> sitemapGenerator,
Lazy<CaptchaSettings> captchaSettings,
Lazy<CommonSettings> commonSettings)
{
this._services = services;
this._categoryService = categoryService;
this._productService = productService;
this._manufacturerService = manufacturerService;
this._topicService = topicService;
this._queuedEmailService = queuedEmailService;
this._emailAccountService = emailAccountService;
this._sitemapGenerator = sitemapGenerator;
this._captchaSettings = captchaSettings;
this._commonSettings = commonSettings;
T = NullLocalizer.Instance;
}
示例12: PayPalPlusCheckoutFilter
public PayPalPlusCheckoutFilter(
ICommonServices services,
IPaymentService paymentService)
{
_services = services;
_paymentService = paymentService;
}
示例13: ProductImporter
public ProductImporter(
IRepository<ProductPicture> productPictureRepository,
IRepository<ProductManufacturer> productManufacturerRepository,
IRepository<ProductCategory> productCategoryRepository,
IRepository<Product> productRepository,
ICommonServices services,
ILocalizedEntityService localizedEntityService,
IPictureService pictureService,
IManufacturerService manufacturerService,
ICategoryService categoryService,
IProductService productService,
IProductTemplateService productTemplateService,
FileDownloadManager fileDownloadManager)
{
_productPictureRepository = productPictureRepository;
_productManufacturerRepository = productManufacturerRepository;
_productCategoryRepository = productCategoryRepository;
_productRepository = productRepository;
_services = services;
_localizedEntityService = localizedEntityService;
_pictureService = pictureService;
_manufacturerService = manufacturerService;
_categoryService = categoryService;
_productService = productService;
_productTemplateService = productTemplateService;
_fileDownloadManager = fileDownloadManager;
}
示例14: ProductController
public ProductController(
ICommonServices services,
IManufacturerService manufacturerService,
IProductService productService,
IProductAttributeService productAttributeService,
IProductAttributeParser productAttributeParser,
ITaxService taxService,
ICurrencyService currencyService,
IPictureService pictureService,
IPriceCalculationService priceCalculationService,
IPriceFormatter priceFormatter,
ICustomerContentService customerContentService,
ICustomerService customerService,
IShoppingCartService shoppingCartService,
IRecentlyViewedProductsService recentlyViewedProductsService,
IWorkflowMessageService workflowMessageService,
IProductTagService productTagService,
IOrderReportService orderReportService,
IBackInStockSubscriptionService backInStockSubscriptionService,
IAclService aclService,
IStoreMappingService storeMappingService,
MediaSettings mediaSettings,
CatalogSettings catalogSettings,
ShoppingCartSettings shoppingCartSettings,
LocalizationSettings localizationSettings,
CaptchaSettings captchaSettings,
CatalogHelper helper,
IDownloadService downloadService,
ILocalizationService localizationService)
{
this._services = services;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._productAttributeService = productAttributeService;
this._productAttributeParser = productAttributeParser;
this._taxService = taxService;
this._currencyService = currencyService;
this._pictureService = pictureService;
this._priceCalculationService = priceCalculationService;
this._priceFormatter = priceFormatter;
this._customerContentService = customerContentService;
this._customerService = customerService;
this._shoppingCartService = shoppingCartService;
this._recentlyViewedProductsService = recentlyViewedProductsService;
this._workflowMessageService = workflowMessageService;
this._productTagService = productTagService;
this._orderReportService = orderReportService;
this._backInStockSubscriptionService = backInStockSubscriptionService;
this._aclService = aclService;
this._storeMappingService = storeMappingService;
this._mediaSettings = mediaSettings;
this._catalogSettings = catalogSettings;
this._shoppingCartSettings = shoppingCartSettings;
this._localizationSettings = localizationSettings;
this._captchaSettings = captchaSettings;
this._helper = helper;
this._downloadService = downloadService;
this._localizationService = localizationService;
}
示例15: PayPalStandardProvider
public PayPalStandardProvider(
IOrderTotalCalculationService orderTotalCalculationService,
ICommonServices services,
ILogger logger)
{
_orderTotalCalculationService = orderTotalCalculationService;
_services = services;
_logger = logger;
}