本文整理汇总了C#中ICommonServices类的典型用法代码示例。如果您正苦于以下问题:C# ICommonServices类的具体用法?C# ICommonServices怎么用?C# ICommonServices使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ICommonServices类属于命名空间,在下文中一共展示了ICommonServices类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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;
}
开发者ID:boatengfrankenstein,项目名称:SmartStoreNET,代码行数:26,代码来源:PluginController.cs
示例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;
}
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:30,代码来源:ForumService.cs
示例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;
}
开发者ID:omidghorbani,项目名称:SmartStoreNET,代码行数:31,代码来源:PayPalExpressController.cs
示例4: FroogleFeedPlugin
public FroogleFeedPlugin(
IGoogleFeedService googleService,
ICommonServices services)
{
_googleService = googleService;
_services = services;
}
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:7,代码来源:FroogleFeedPlugin.cs
示例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);
}
开发者ID:boatengfrankenstein,项目名称:SmartStoreNET,代码行数:26,代码来源:PriceCalculationServiceTests.cs
示例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;
}
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:26,代码来源:ExportManager.cs
示例7: GoogleMerchantCenterFeedPlugin
public GoogleMerchantCenterFeedPlugin(
IGoogleFeedService googleFeedService,
ICommonServices services)
{
_googleFeedService = googleFeedService;
_services = services;
}
开发者ID:toannguyen241994,项目名称:SmartStoreNET,代码行数:7,代码来源:GoogleMerchantCenterFeedPlugin.cs
示例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;
});
}
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:29,代码来源:GoogleFeedService.cs
示例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;
}
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:25,代码来源:PriceCalculationService.cs
示例10: NewsLetterSubscriptionImporter
public NewsLetterSubscriptionImporter(
ICommonServices services,
IRepository<NewsLetterSubscription> subscriptionRepository)
{
_services = services;
_subscriptionRepository = subscriptionRepository;
}
开发者ID:toannguyen241994,项目名称:SmartStoreNET,代码行数:7,代码来源:NewsLetterSubscriptionImporter.cs
示例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;
}
开发者ID:boatengfrankenstein,项目名称:SmartStoreNET,代码行数:25,代码来源:HomeController.cs
示例12: PayPalPlusCheckoutFilter
public PayPalPlusCheckoutFilter(
ICommonServices services,
IPaymentService paymentService)
{
_services = services;
_paymentService = paymentService;
}
开发者ID:toannguyen241994,项目名称:SmartStoreNET,代码行数:7,代码来源:PayPalPlusCheckoutFilter.cs
示例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;
}
开发者ID:toannguyen241994,项目名称:SmartStoreNET,代码行数:27,代码来源:ProductImporter.cs
示例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;
}
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:59,代码来源:ProductController.cs
示例15: PayPalStandardProvider
public PayPalStandardProvider(
IOrderTotalCalculationService orderTotalCalculationService,
ICommonServices services,
ILogger logger)
{
_orderTotalCalculationService = orderTotalCalculationService;
_services = services;
_logger = logger;
}
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:9,代码来源:PayPalStandardProvider.cs
示例16: AmazonPayController
public AmazonPayController(
IAmazonPayService apiService,
ICommonServices services,
IStoreService storeService)
{
_apiService = apiService;
_services = services;
_storeService = storeService;
}
开发者ID:boatengfrankenstein,项目名称:SmartStoreNET,代码行数:9,代码来源:AmazonPayController.cs
示例17: Plugin
public Plugin(
IAmazonPayService apiService,
IOrderTotalCalculationService orderTotalCalculationService,
ICommonServices services)
{
_apiService = apiService;
_orderTotalCalculationService = orderTotalCalculationService;
_services = services;
}
开发者ID:boatengfrankenstein,项目名称:SmartStoreNET,代码行数:9,代码来源:Plugin.cs
示例18: PayPalExpressCheckoutFilter
public PayPalExpressCheckoutFilter(IGenericAttributeService genericAttributeService,
HttpContextBase httpContext, ICommonServices services,
ICustomerService customerService)
{
_genericAttributeService = genericAttributeService;
_httpContext = httpContext;
_services = services;
_customerService = customerService;
}
开发者ID:boatengfrankenstein,项目名称:SmartStoreNET,代码行数:9,代码来源:PayPalExpressCheckoutFilter.cs
示例19: WidgetZoneFilter
public WidgetZoneFilter(
ICommonServices services,
Lazy<IWidgetProvider> widgetProvider,
ProfilerSettings profilerSettings)
{
this._services = services;
this._widgetProvider = widgetProvider;
this._profilerSettings = profilerSettings;
}
开发者ID:boatengfrankenstein,项目名称:SmartStoreNET,代码行数:9,代码来源:WidgetZoneFilter.cs
示例20: CatalogController
public CatalogController(
ICommonServices services,
ICategoryService categoryService,
IManufacturerService manufacturerService,
IProductService productService,
ICategoryTemplateService categoryTemplateService,
IManufacturerTemplateService manufacturerTemplateService,
ICurrencyService currencyService,
Lazy<ICurrencyService> currencyServices,
IOrderReportService orderReportService,
IProductTagService productTagService,
IRecentlyViewedProductsService recentlyViewedProductsService,
IPictureService pictureService,
IPriceFormatter priceFormatter,
ISpecificationAttributeService specificationAttributeService,
ICompareProductsService compareProductsService,
IGenericAttributeService genericAttributeService,
Lazy<IGenericAttributeService> genericAttributeServices,
IAclService aclService,
IStoreMappingService storeMappingService,
MediaSettings mediaSettings,
CatalogSettings catalogSettings,
IFilterService filterService,
CatalogHelper helper,
ForumSettings forumSettings,
Lazy<IForumService> forumService,
IOrderTotalCalculationService orderTotalCalculationService,
CustomerSettings customerSettings)
{
this._services = services;
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._categoryTemplateService = categoryTemplateService;
this._manufacturerTemplateService = manufacturerTemplateService;
this._currencyService = currencyService;
this._currencyServices = currencyServices;
this._orderReportService = orderReportService;
this._productTagService = productTagService;
this._recentlyViewedProductsService = recentlyViewedProductsService;
this._compareProductsService = compareProductsService;
this._pictureService = pictureService;
this._priceFormatter = priceFormatter;
this._specificationAttributeService = specificationAttributeService;
this._genericAttributeService = genericAttributeService;
this._genericAttributeServices = genericAttributeServices;
this._aclService = aclService;
this._storeMappingService = storeMappingService;
this._filterService = filterService;
this._mediaSettings = mediaSettings;
this._catalogSettings = catalogSettings;
this._forumSettings = forumSettings;
this._helper = helper;
this._forumservice = forumService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._customerSettings = customerSettings;
}
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:57,代码来源:CatalogController.cs
注:本文中的ICommonServices类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论