本文整理汇总了C#中IGenericAttributeService类的典型用法代码示例。如果您正苦于以下问题:C# IGenericAttributeService类的具体用法?C# IGenericAttributeService怎么用?C# IGenericAttributeService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IGenericAttributeService类属于命名空间,在下文中一共展示了IGenericAttributeService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ExternalAuthorizer
public ExternalAuthorizer(IAuthenticationService authenticationService,
IOpenAuthenticationService openAuthenticationService,
IGenericAttributeService genericAttributeService,
ICustomerRegistrationService customerRegistrationService,
ICustomerActivityService customerActivityService,
ILocalizationService localizationService,
IWorkContext workContext,
IStoreContext storeContext,
CustomerSettings customerSettings,
ExternalAuthenticationSettings externalAuthenticationSettings,
IShoppingCartService shoppingCartService,
IWorkflowMessageService workflowMessageService,
IEventPublisher eventPublisher,
LocalizationSettings localizationSettings)
{
this._authenticationService = authenticationService;
this._openAuthenticationService = openAuthenticationService;
this._genericAttributeService = genericAttributeService;
this._customerRegistrationService = customerRegistrationService;
this._customerActivityService = customerActivityService;
this._localizationService = localizationService;
this._workContext = workContext;
this._storeContext = storeContext;
this._customerSettings = customerSettings;
this._externalAuthenticationSettings = externalAuthenticationSettings;
this._shoppingCartService = shoppingCartService;
this._workflowMessageService = workflowMessageService;
this._eventPublisher = eventPublisher;
this._localizationSettings = localizationSettings;
}
示例2: WebWorkContext
public WebWorkContext(HttpContextBase httpContext,
ICustomerService customerService,
IVendorService vendorService,
IStoreContext storeContext,
IAuthenticationService authenticationService,
ILanguageService languageService,
ICurrencyService currencyService,
IGenericAttributeService genericAttributeService,
TaxSettings taxSettings,
CurrencySettings currencySettings,
LocalizationSettings localizationSettings,
IUserAgentHelper userAgentHelper,
IStoreMappingService storeMappingService)
{
this._httpContext = httpContext;
this._customerService = customerService;
this._vendorService = vendorService;
this._storeContext = storeContext;
this._authenticationService = authenticationService;
this._languageService = languageService;
this._currencyService = currencyService;
this._genericAttributeService = genericAttributeService;
this._taxSettings = taxSettings;
this._currencySettings = currencySettings;
this._localizationSettings = localizationSettings;
this._userAgentHelper = userAgentHelper;
this._storeMappingService = storeMappingService;
}
示例3: 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;
}
示例4: ShoppingCartService
/// <summary>
/// Ctor
/// </summary>
/// <param name="sciRepository">Shopping cart repository</param>
/// <param name="workContext">Work context</param>
/// <param name="storeContext">Store context</param>
/// <param name="currencyService">Currency service</param>
/// <param name="productService">Product settings</param>
/// <param name="localizationService">Localization service</param>
/// <param name="productAttributeParser">Product attribute parser</param>
/// <param name="checkoutAttributeService">Checkout attribute service</param>
/// <param name="checkoutAttributeParser">Checkout attribute parser</param>
/// <param name="priceFormatter">Price formatter</param>
/// <param name="customerService">Customer service</param>
/// <param name="shoppingCartSettings">Shopping cart settings</param>
/// <param name="eventPublisher">Event publisher</param>
/// <param name="permissionService">Permission service</param>
/// <param name="aclService">ACL service</param>
/// <param name="storeMappingService">Store mapping service</param>
/// <param name="genericAttributeService">Generic attribute service</param>
public ShoppingCartService(IRepository<ShoppingCartItem> sciRepository,
IWorkContext workContext, IStoreContext storeContext,
ICurrencyService currencyService,
IProductService productService, ILocalizationService localizationService,
IProductAttributeParser productAttributeParser,
ICheckoutAttributeService checkoutAttributeService,
ICheckoutAttributeParser checkoutAttributeParser,
IPriceFormatter priceFormatter,
ICustomerService customerService,
ShoppingCartSettings shoppingCartSettings,
IEventPublisher eventPublisher,
IPermissionService permissionService,
IAclService aclService,
IStoreMappingService storeMappingService,
IGenericAttributeService genericAttributeService)
{
this._sciRepository = sciRepository;
this._workContext = workContext;
this._storeContext = storeContext;
this._currencyService = currencyService;
this._productService = productService;
this._localizationService = localizationService;
this._productAttributeParser = productAttributeParser;
this._checkoutAttributeService = checkoutAttributeService;
this._checkoutAttributeParser = checkoutAttributeParser;
this._priceFormatter = priceFormatter;
this._customerService = customerService;
this._shoppingCartSettings = shoppingCartSettings;
this._eventPublisher = eventPublisher;
this._permissionService = permissionService;
this._aclService = aclService;
this._storeMappingService = storeMappingService;
this._genericAttributeService= genericAttributeService;
}
示例5: HomeInstallationQuoteController
public HomeInstallationQuoteController(
IWorkContext workContext,
ISettingService settingService,
IGenericAttributeService genericAttributeService,
ILocalizationService localizationService,
IMessageTokenProvider messageTokenProvider,
IEmailAccountService emailAccountService,
IEventPublisher eventPublisher,
IMessageTemplateService messageTemplateService,
ITokenizer tokenizer,
IQueuedEmailService queuedEmailService,
IProductService productService,
CaptchaSettings captchaSettings,
EmailAccountSettings emailAccountSettings)
{
_workContext = workContext;
_settingService = settingService;
_genericAttributeService = genericAttributeService;
_localizationService = localizationService;
_messageTokenProvider = messageTokenProvider;
_emailAccountService = emailAccountService;
_eventPublisher = eventPublisher;
_messageTemplateService = messageTemplateService;
_tokenizer = tokenizer;
_queuedEmailService = queuedEmailService;
_productService = productService;
_captchaSettings = captchaSettings;
_emailAccountSettings = emailAccountSettings;
}
示例6: PromoOrderController
public PromoOrderController(
//IPromoUtilities promoUtilities,
IPriceFormatter priceFormatter,
IWorkContext workContext,
PromoSettings promoSettings,
IGenericAttributeService genericAttributeService,
IOrderService orderService,
IProductMappingService productMappingService,
ILocalizationService localizationService,
ICurrencyService currencyService,
IPromoOrderService promoOrderService,
IProductService productService)
{
//this._promoUtilities = promoUtilities;
this._priceFormatter = priceFormatter;
this._workContext = workContext;
this._genericAttributeService = genericAttributeService;
this._orderService = orderService;
this._productMappingService = productMappingService;
this._localizationService = localizationService;
this._promoSettings = promoSettings;
this._currencyService = currencyService;
this._promoOrderService = promoOrderService;
this._productService = productService;
}
示例7: CustomerController
public CustomerController(IAuthenticationService authenticationService,
ILocalizationService localizationService,
IWorkContext workContext,
ICustomerService customerService,
ICustomerRegistrationService customerRegistrationService,
CustomerSettings customerSettings,
IAddressService addressService,
IWebHelper webHelper,
LocalizationSettings localizationSettings,
CaptchaSettings captchaSettings,
SecuritySettings securitySettings,
ExternalAuthenticationSettings externalAuthenticationSettings,
ICustomerActivityService customerActivityService,
DateTimeSettings dateTimeSettings,
IDateTimeHelper dateTimeHelper,
IGenericAttributeService genericAttributeService,
IPermissionService permissionService)
{
this._authenticationService = authenticationService;
this._localizationService = localizationService;
this._workContext = workContext;
this._customerRegistrationService = customerRegistrationService;
this._customerService = customerService;
this._customerSettings = customerSettings;
this._addressService = addressService;
this._webHelper = webHelper;
this._localizationSettings = localizationSettings;
this._captchaSettings = captchaSettings;
this._securitySettings = securitySettings;
this._externalAuthenticationSettings = externalAuthenticationSettings;
this._customerActivityService = customerActivityService;
this._dateTimeSettings = dateTimeSettings;
this._dateTimeHelper = dateTimeHelper;
this._genericAttributeService = genericAttributeService;
}
示例8: ForumService
/// <summary>
/// Ctor
/// </summary>
/// <param name="cacheManager">Cache manager</param>
/// <param name="forumGroupRepository">Forum group repository</param>
/// <param name="forumRepository">Forum repository</param>
/// <param name="forumTopicRepository">Forum topic repository</param>
/// <param name="forumPostRepository">Forum post repository</param>
/// <param name="forumPrivateMessageRepository">Private message repository</param>
/// <param name="forumSubscriptionRepository">Forum subscription repository</param>
/// <param name="forumSettings">Forum settings</param>
/// <param name="customerRepository">Customer repository</param>
/// <param name="genericAttributeService">Generic attribute service</param>
/// <param name="customerService">Customer service</param>
/// <param name="workContext">Work context</param>
/// <param name="workflowMessageService">Workflow message service</param>
/// <param name="eventPublisher">Event published</param>
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,
IWorkContext workContext,
IWorkflowMessageService workflowMessageService,
IEventPublisher eventPublisher
)
{
this._cacheManager = cacheManager;
this._forumGroupRepository = forumGroupRepository;
this._forumRepository = forumRepository;
this._forumTopicRepository = forumTopicRepository;
this._forumPostRepository = forumPostRepository;
this._forumPrivateMessageRepository = forumPrivateMessageRepository;
this._forumSubscriptionRepository = forumSubscriptionRepository;
this._forumSettings = forumSettings;
this._customerRepository = customerRepository;
this._genericAttributeService = genericAttributeService;
this._customerService = customerService;
this._workContext = workContext;
this._workflowMessageService = workflowMessageService;
_eventPublisher = eventPublisher;
}
示例9: ShippingService
/// <summary>
/// Ctor
/// </summary>
/// <param name="cacheManager">Cache manager</param>
/// <param name="shippingMethodRepository">Shipping method repository</param>
/// <param name="logger">Logger</param>
/// <param name="productAttributeParser">Product attribute parser</param>
/// <param name="productService">Product service</param>
/// <param name="checkoutAttributeParser">Checkout attribute parser</param>
/// <param name="genericAttributeService">Generic attribute service</param>
/// <param name="localizationService">Localization service</param>
/// <param name="shippingSettings">Shipping settings</param>
/// <param name="pluginFinder">Plugin finder</param>
/// <param name="eventPublisher">Event published</param>
/// <param name="shoppingCartSettings">Shopping cart settings</param>
/// <param name="settingService">Setting service</param>
public ShippingService(ICacheManager cacheManager,
IRepository<ShippingMethod> shippingMethodRepository,
ILogger logger,
IProductAttributeParser productAttributeParser,
IProductService productService,
ICheckoutAttributeParser checkoutAttributeParser,
IGenericAttributeService genericAttributeService,
ILocalizationService localizationService,
ShippingSettings shippingSettings,
IPluginFinder pluginFinder,
IEventPublisher eventPublisher,
ShoppingCartSettings shoppingCartSettings,
ISettingService settingService,
IProviderManager providerManager)
{
this._cacheManager = cacheManager;
this._shippingMethodRepository = shippingMethodRepository;
this._logger = logger;
this._productAttributeParser = productAttributeParser;
this._productService = productService;
this._checkoutAttributeParser = checkoutAttributeParser;
this._genericAttributeService = genericAttributeService;
this._localizationService = localizationService;
this._shippingSettings = shippingSettings;
this._pluginFinder = pluginFinder;
this._eventPublisher = eventPublisher;
this._shoppingCartSettings = shoppingCartSettings;
this._settingService = settingService;
this._providerManager = providerManager;
}
示例10: 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;
}
示例11: GoogleCheckoutPaymentProcessor
public GoogleCheckoutPaymentProcessor(ISettingService settingService,
IWebHelper webHelper, ITaxService taxService,
IShippingService shippingService,
IOrderTotalCalculationService orderTotalCalculationService,
IProductAttributeFormatter productAttributeFormatter,
IPriceCalculationService priceCalculationService, IWorkContext workContext,
ICustomerService customerService, IGenericAttributeService genericAttributeService,
ICountryService countryService,
IStateProvinceService stateProvinceService, IOrderProcessingService orderProcessingService,
IOrderService orderService, ILogger logger, HttpContextBase httpContext)
{
this._settingService = settingService;
this._webHelper = webHelper;
this._taxService = taxService;
this._shippingService = shippingService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._productAttributeFormatter = productAttributeFormatter;
this._priceCalculationService = priceCalculationService;
this._workContext = workContext;
this._customerService = customerService;
this._genericAttributeService = genericAttributeService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._orderProcessingService = orderProcessingService;
this._orderService = orderService;
this._logger = logger;
this._httpContext = httpContext;
}
示例12: VendorController
public VendorController(ICustomerService customerService,
ILocalizationService localizationService,
IVendorService vendorService,
IPermissionService permissionService,
IUrlRecordService urlRecordService,
ILanguageService languageService,
ILocalizedEntityService localizedEntityService,
VendorSettings vendorSettings,
IPictureService pictureService,
IProductService productService,
IWorkContext workContext,
IGenericAttributeService genericAttributeService,
IWorkflowMessageService workflowMessageService)
{
this._customerService = customerService;
this._localizationService = localizationService;
this._vendorService = vendorService;
this._permissionService = permissionService;
this._urlRecordService = urlRecordService;
this._languageService = languageService;
this._localizedEntityService = localizedEntityService;
this._vendorSettings = vendorSettings;
this._pictureService = pictureService;
this._productService = productService;
this._workContext = workContext;
this._workflowMessageService = workflowMessageService;
this._genericAttributeService = genericAttributeService;
}
示例13: WebWorkContext
public WebWorkContext(Func<string, ICacheManager> cacheManager,
HttpContextBase httpContext,
ICustomerService customerService,
IStoreContext storeContext,
IAuthenticationService authenticationService,
ILanguageService languageService,
ICurrencyService currencyService,
IGenericAttributeService attrService,
TaxSettings taxSettings, CurrencySettings currencySettings,
LocalizationSettings localizationSettings, Lazy<ITaxService> taxService,
IStoreService storeService, ISettingService settingService,
IUserAgent userAgent)
{
this._cacheManager = cacheManager("static");
this._httpContext = httpContext;
this._customerService = customerService;
this._storeContext = storeContext;
this._authenticationService = authenticationService;
this._languageService = languageService;
this._attrService = attrService;
this._currencyService = currencyService;
this._taxSettings = taxSettings;
this._taxService = taxService;
this._currencySettings = currencySettings;
this._localizationSettings = localizationSettings;
this._storeService = storeService;
this._settingService = settingService;
this._userAgent = userAgent;
}
示例14: DiscountService
public DiscountService(
IPromoUtilities promoUtilities,
PromoSettings promoSettings,
ICacheManager cacheManager,
IRepository<Discount> discountRepository,
IRepository<DiscountRequirement> discountRequirementRepository,
IRepository<DiscountUsageHistory> discountUsageHistoryRepository,
IStoreContext storeContext,
IGenericAttributeService genericAttributeService,
IPluginFinder pluginFinder,
IEventPublisher eventPublisher) :
base(
cacheManager,
discountRepository,
discountRequirementRepository,
discountUsageHistoryRepository,
storeContext,
genericAttributeService,
pluginFinder,
eventPublisher)
{
this._promoUtilities = promoUtilities;
this._promoSettings = promoSettings;
this._discountRepository = discountRepository;
this._discountUsageHistoryRepository = discountUsageHistoryRepository;
this._cacheManager = cacheManager;
this._eventPublisher = eventPublisher;
}
示例15: 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;
}