本文整理匯總了C#中Nop.Core.Domain.Catalog.CatalogSettings類的典型用法代碼示例。如果您正苦於以下問題:C# CatalogSettings類的具體用法?C# CatalogSettings怎麽用?C# CatalogSettings使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
CatalogSettings類屬於Nop.Core.Domain.Catalog命名空間,在下文中一共展示了CatalogSettings類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: MiscFacebookShopController
public MiscFacebookShopController(IAclService aclService,
ICacheManager cacheManager,
CatalogSettings catalogSettings,
ICategoryService categoryService,
ICurrencyService currencyService,
ILocalizationService localizationService,
IPermissionService permissionService,
IPictureService pictureService,
IPriceCalculationService priceCalculationService,
IPriceFormatter priceFormatter,
IProductService productService,
IStoreContext storeContext,
IStoreMappingService storeMappingService,
ITaxService taxService,
IWorkContext workContext)
{
this._aclService = aclService;
this._cacheManager = cacheManager;
this._catalogSettings = catalogSettings;
this._categoryService = categoryService;
this._currencyService = currencyService;
this._localizationService = localizationService;
this._permissionService = permissionService;
this._pictureService = pictureService;
this._priceCalculationService = priceCalculationService;
this._priceFormatter = priceFormatter;
this._productService = productService;
this._storeContext = storeContext;
this._storeMappingService = storeMappingService;
this._taxService = taxService;
this._workContext = workContext;
}
示例2: MobSocialMessageService
public MobSocialMessageService(IMessageTemplateService messageTemplateService,
IStoreService storeService, IMessageTokenProvider messageTokenProvider,
ILanguageService languageService,
IStoreContext storeContext,
IEventPublisher eventPublisher,
ITokenizer tokenizer, IQueuedEmailService queuedEmailService,
IEmailAccountService emailAccountService,
EmailAccountSettings emailAccountSettings,
ILocalizationService localizationService,
MessageTemplatesSettings messageTemplateSettings,
CatalogSettings catalogSettings,
IProductAttributeParser productAttributeParser, IWorkContext workContext)
{
_messageTemplateService = messageTemplateService;
_storeService = storeService;
_messageTokenProvider = messageTokenProvider;
_languageService = languageService;
_storeContext = storeContext;
_eventPublisher = eventPublisher;
_tokenizer = tokenizer;
_queuedEmailService = queuedEmailService;
_emailAccountService = emailAccountService;
_emailAccountSettings = emailAccountSettings;
_localizationService = localizationService;
_messageTemplateSettings = messageTemplateSettings;
_catalogSettings = catalogSettings;
_productAttributeParser = productAttributeParser;
_workContext = workContext;
}
示例3: PriceCalculationService
public PriceCalculationService(IWorkContext workContext,
IStoreContext storeContext,
IDiscountService discountService,
ICategoryService categoryService,
IProductAttributeParser productAttributeParser,
IProductService productService,
ICacheManager cacheManager,
ShoppingCartSettings shoppingCartSettings,
CatalogSettings catalogSettings,
IPriceForSizeService priceForSizeService)
: base(
workContext,
storeContext,
discountService,
categoryService,
productAttributeParser,
productService,
cacheManager,
shoppingCartSettings,
catalogSettings
)
{
_productAttributeParser = productAttributeParser;
_productService = productService;
_priceForSizeService = priceForSizeService;
}
示例4: CompareProductsService
/// <summary>
/// Ctor
/// </summary>
/// <param name="httpContext">HTTP context</param>
/// <param name="productService">Product service</param>
/// <param name="catalogSettings">Catalog settings</param>
public CompareProductsService(HttpContextBase httpContext, IProductService productService,
CatalogSettings catalogSettings)
{
this._httpContext = httpContext;
this._productService = productService;
this._catalogSettings = catalogSettings;
}
示例5: CategoryController
public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
IManufacturerService manufacturerService, IProductService productService,
ICustomerService customerService,
IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService,
ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
IDiscountService discountService, IPermissionService permissionService,
IAclService aclService,
IExportManager exportManager, IWorkContext workContext,
ICustomerActivityService customerActivityService, AdminAreaSettings adminAreaSettings,
CatalogSettings catalogSettings)
{
this._categoryService = categoryService;
this._categoryTemplateService = categoryTemplateService;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._customerService = customerService;
this._urlRecordService = urlRecordService;
this._pictureService = pictureService;
this._languageService = languageService;
this._localizationService = localizationService;
this._localizedEntityService = localizedEntityService;
this._discountService = discountService;
this._permissionService = permissionService;
this._aclService = aclService;
this._exportManager = exportManager;
this._workContext = workContext;
this._customerActivityService = customerActivityService;
this._adminAreaSettings = adminAreaSettings;
this._catalogSettings = catalogSettings;
}
示例6: OrderController
public OrderController(IOrderService orderService, IWorkContext workContext,
ICurrencyService currencyService, IPriceFormatter priceFormatter,
IOrderProcessingService orderProcessingService,
IDateTimeHelper dateTimeHelper, IMeasureService measureService,
IPaymentService paymentService, ILocalizationService localizationService,
IPdfService pdfService, ICustomerService customerService,
IWorkflowMessageService workflowMessageService,
LocalizationSettings localizationSettings,
MeasureSettings measureSettings, CatalogSettings catalogSettings,
OrderSettings orderSettings, TaxSettings taxSettings, PdfSettings pdfSettings)
{
this._orderService = orderService;
this._workContext = workContext;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._dateTimeHelper = dateTimeHelper;
this._measureService = measureService;
this._paymentService = paymentService;
this._localizationService = localizationService;
this._pdfService = pdfService;
this._customerService = customerService;
this._workflowMessageService = workflowMessageService;
this._localizationSettings = localizationSettings;
this._measureSettings = measureSettings;
this._catalogSettings = catalogSettings;
this._orderSettings = orderSettings;
this._taxSettings = taxSettings;
this._pdfSettings = pdfSettings;
}
示例7: 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;
}
示例8: RecentlyViewedProductsService
/// <summary>
/// Ctor
/// </summary>
/// <param name="httpContext">HTTP context</param>
/// <param name="productService">Product service</param>
/// <param name="catalogSettings">Catalog settings</param>
public RecentlyViewedProductsService(HttpContextBase httpContext, IProductService productService,
CatalogSettings catalogSettings)
{
this._httpContext = httpContext;
this._productService = productService;
this._catalogSettings = catalogSettings;
}
示例9: 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;
}
示例10: ManufacturerController
public ManufacturerController(ICategoryService categoryService, IManufacturerService manufacturerService,
IManufacturerTemplateService manufacturerTemplateService, IProductService productService,
ICustomerService customerService, IStoreService storeService,
IStoreMappingService storeMappingService,
IUrlRecordService urlRecordService, IPictureService pictureService,
ILanguageService languageService, ILocalizationService localizationService,
ILocalizedEntityService localizedEntityService, IExportManager exportManager,
ICustomerActivityService customerActivityService, IAclService aclService,
IPermissionService permissionService,
AdminAreaSettings adminAreaSettings, CatalogSettings catalogSettings)
{
this._categoryService = categoryService;
this._manufacturerTemplateService = manufacturerTemplateService;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._customerService = customerService;
this._storeService = storeService;
this._storeMappingService = storeMappingService;
this._urlRecordService = urlRecordService;
this._pictureService = pictureService;
this._languageService = languageService;
this._localizationService = localizationService;
this._localizedEntityService = localizedEntityService;
this._exportManager = exportManager;
this._customerActivityService = customerActivityService;
this._aclService = aclService;
this._permissionService = permissionService;
this._adminAreaSettings = adminAreaSettings;
this._catalogSettings = catalogSettings;
}
示例11: MessageTokenProvider
public MessageTokenProvider(ILanguageService languageService,
ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
IEmailAccountService emailAccountService,
IPriceFormatter priceFormatter, ICurrencyService currencyService,IWebHelper webHelper,
IWorkContext workContext, IDownloadService downloadService,
IOrderService orderService,
StoreInformationSettings storeSettings, MessageTemplatesSettings templatesSettings,
EmailAccountSettings emailAccountSettings, CatalogSettings catalogSettings,
TaxSettings taxSettings)
{
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._storeSettings = storeSettings;
this._templatesSettings = templatesSettings;
this._emailAccountSettings = emailAccountSettings;
this._catalogSettings = catalogSettings;
this._taxSettings = taxSettings;
}
示例12: OrderTotalCalculationService
/// <summary>
/// Ctor
/// </summary>
/// <param name="workContext">Work context</param>
/// <param name="storeContext">Store context</param>
/// <param name="priceCalculationService">Price calculation service</param>
/// <param name="taxService">Tax service</param>
/// <param name="shippingService">Shipping service</param>
/// <param name="paymentService">Payment service</param>
/// <param name="checkoutAttributeParser">Checkout attribute parser</param>
/// <param name="discountService">Discount service</param>
/// <param name="giftCardService">Gift card service</param>
/// <param name="genericAttributeService">Generic attribute service</param>
/// <param name="taxSettings">Tax settings</param>
/// <param name="rewardPointsSettings">Reward points settings</param>
/// <param name="shippingSettings">Shipping settings</param>
/// <param name="shoppingCartSettings">Shopping cart settings</param>
/// <param name="catalogSettings">Catalog settings</param>
public OrderTotalCalculationService(IWorkContext workContext,
IStoreContext storeContext,
IPriceCalculationService priceCalculationService,
ITaxService taxService,
IShippingService shippingService,
IPaymentService paymentService,
ICheckoutAttributeParser checkoutAttributeParser,
IDiscountService discountService,
IGiftCardService giftCardService,
IGenericAttributeService genericAttributeService,
TaxSettings taxSettings,
RewardPointsSettings rewardPointsSettings,
ShippingSettings shippingSettings,
ShoppingCartSettings shoppingCartSettings,
CatalogSettings catalogSettings)
{
this._workContext = workContext;
this._storeContext = storeContext;
this._priceCalculationService = priceCalculationService;
this._taxService = taxService;
this._shippingService = shippingService;
this._paymentService = paymentService;
this._checkoutAttributeParser = checkoutAttributeParser;
this._discountService = discountService;
this._giftCardService = giftCardService;
this._genericAttributeService = genericAttributeService;
this._taxSettings = taxSettings;
this._rewardPointsSettings = rewardPointsSettings;
this._shippingSettings = shippingSettings;
this._shoppingCartSettings = shoppingCartSettings;
this._catalogSettings = catalogSettings;
}
示例13: OrderController
public OrderController(IOrderService orderService,
IShipmentService shipmentService, IWorkContext workContext,
ICurrencyService currencyService, IPriceFormatter priceFormatter,
IOrderProcessingService orderProcessingService, IDateTimeHelper dateTimeHelper,
IPaymentService paymentService, ILocalizationService localizationService,
IPdfService pdfService, IShippingService shippingService,
ICountryService countryService, IProductAttributeParser productAttributeParser,
IWebHelper webHelper,
CatalogSettings catalogSettings, OrderSettings orderSettings,
TaxSettings taxSettings, PdfSettings pdfSettings,
ShippingSettings shippingSettings, AddressSettings addressSettings)
{
this._orderService = orderService;
this._shipmentService = shipmentService;
this._workContext = workContext;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._dateTimeHelper = dateTimeHelper;
this._paymentService = paymentService;
this._localizationService = localizationService;
this._pdfService = pdfService;
this._shippingService = shippingService;
this._countryService = countryService;
this._productAttributeParser = productAttributeParser;
this._webHelper = webHelper;
this._catalogSettings = catalogSettings;
this._orderSettings = orderSettings;
this._taxSettings = taxSettings;
this._pdfSettings = pdfSettings;
this._shippingSettings = shippingSettings;
this._addressSettings = addressSettings;
}
示例14: SetUp
public new void SetUp()
{
_workContext = null;
_store = new Store() { Id = 1 };
_storeContext = MockRepository.GenerateMock<IStoreContext>();
_storeContext.Expect(x => x.CurrentStore).Return(_store);
_discountService = MockRepository.GenerateMock<IDiscountService>();
_categoryService = MockRepository.GenerateMock<ICategoryService>();
_productService = MockRepository.GenerateMock<IProductService>();
_productAttributeParser = MockRepository.GenerateMock<IProductAttributeParser>();
_shoppingCartSettings = new ShoppingCartSettings();
_catalogSettings = new CatalogSettings();
_cacheManager = new NopNullCache();
_priceCalcService = new PriceCalculationService(_workContext,
_storeContext,
_discountService,
_categoryService,
_productAttributeParser,
_productService,
_cacheManager,
_shoppingCartSettings,
_catalogSettings);
}
示例15: ProductCitiesService
/// <summary>
/// Ctor
/// </summary>
/// <param name="httpContext">HTTP context</param>
/// <param name="productService">Product service</param>
/// <param name="catalogSettings">Catalog settings</param>
public ProductCitiesService(HttpContextBase httpContext, IProductService productService,IRepository<ProductCities> productCitiesRepository,
CatalogSettings catalogSettings)
{
this._httpContext = httpContext;
this._productService = productService;
this._productCitiesRepository = productCitiesRepository;
this._catalogSettings = catalogSettings;
}