当前位置: 首页>>代码示例>>C#>>正文


C# IPluginFinder类代码示例

本文整理汇总了C#中IPluginFinder的典型用法代码示例。如果您正苦于以下问题:C# IPluginFinder类的具体用法?C# IPluginFinder怎么用?C# IPluginFinder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IPluginFinder类属于命名空间,在下文中一共展示了IPluginFinder类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ShippingController

 public ShippingController(IShippingService shippingService, 
     ShippingSettings shippingSettings,
     ISettingService settingService,
     IAddressService addressService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ILocalizationService localizationService, 
     IPermissionService permissionService,
      ILocalizedEntityService localizedEntityService,
     ILanguageService languageService,
     IPluginFinder pluginFinder,
     IWebHelper webHelper)
 {
     this._shippingService = shippingService;
     this._shippingSettings = shippingSettings;
     this._settingService = settingService;
     this._addressService = addressService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService = languageService;
     this._pluginFinder = pluginFinder;
     this._webHelper = webHelper;
 }
开发者ID:RickRosser,项目名称:SF011515,代码行数:26,代码来源:ShippingController.cs

示例2: 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

示例3: Scheduler

 public Scheduler(IPluginFinder plugins, IHeart heart, IWorker worker, IErrorNotifier errorHandler)
 {
     _actions = new List<ScheduledAction>(InstantiateActions(plugins));
     _heart = heart;
     _worker = worker;
     _errorHandler = errorHandler;
 }
开发者ID:pauldotknopf,项目名称:Noodle,代码行数:7,代码来源:Scheduler.cs

示例4: PluginController

        public PluginController(IPluginFinder pluginFinder,
            IOfficialFeedManager officialFeedManager,
            ILocalizationService localizationService,
            IWebHelper webHelper,
            IPermissionService permissionService, 
            ILanguageService languageService,
            ISettingService settingService, 
            IStoreService storeService,
            PaymentSettings paymentSettings,
            ShippingSettings shippingSettings,
            TaxSettings taxSettings, 
            ExternalAuthenticationSettings externalAuthenticationSettings, 
            WidgetSettings widgetSettings)
		{
            this._pluginFinder = pluginFinder;
            this._officialFeedManager = officialFeedManager;
            this._localizationService = localizationService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;
            this._languageService = languageService;
            this._settingService = settingService;
            this._storeService = storeService;
            this._paymentSettings = paymentSettings;
            this._shippingSettings = shippingSettings;
            this._taxSettings = taxSettings;
            this._externalAuthenticationSettings = externalAuthenticationSettings;
            this._widgetSettings = widgetSettings;
		}
开发者ID:RobinHoody,项目名称:nopCommerce,代码行数:28,代码来源:PluginController.cs

示例5: StoreConnectionStringProvider

 public StoreConnectionStringProvider(IPluginFinder pluginFinder)
 {
     pluginFinder.RegisterCreatePluginsCallBack<IDataStoreRegistration>(registrations =>
         {
             _StoreConnectionNames = registrations.ToDictionary(r => r.Type, r => r.ConnectionDetails);
         });
 }
开发者ID:Nieko,项目名称:Nieko,代码行数:7,代码来源:StoreConnectionStringProvider.cs

示例6: PaymentService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="paymentSettings">Payment settings</param>
 /// <param name="pluginFinder">Plugin finder</param>
 /// <param name="shoppingCartSettings">Shopping cart settings</param>
 public PaymentService(PaymentSettings paymentSettings, IPluginFinder pluginFinder,
     ShoppingCartSettings shoppingCartSettings)
 {
     this._paymentSettings = paymentSettings;
     this._pluginFinder = pluginFinder;
     this._shoppingCartSettings = shoppingCartSettings;
 }
开发者ID:emretiryaki,项目名称:paymill-nopcommerce,代码行数:13,代码来源:PaymentService.cs

示例7: FormsManager

        public FormsManager(IPluginFinder pluginFinder, Func<IViewNavigator> regionNavigatorSupplier, FormExceptionHandler formExceptionHandler)
        {
            _RegionNavigatorSupplier = regionNavigatorSupplier;
            _FormExceptionHandler = formExceptionHandler;

            pluginFinder.RegisterCreatePluginsCallBack<IFormsProvider>(RegisterForms);
        }
开发者ID:Nieko,项目名称:Nieko,代码行数:7,代码来源:FormsManager.cs

示例8: TaxService

        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="addressService">Address service</param>
        /// <param name="workContext">Work context</param>
        /// <param name="taxSettings">Tax settings</param>
        /// <param name="pluginFinder">Plugin finder</param>
        /// <param name="geoLookupService">GEO lookup service</param>
        /// <param name="countryService">Country service</param>
        /// <param name="customerSettings">Customer settings</param>
        /// <param name="addressSettings">Address settings</param>
        public TaxService(IAddressService addressService,
            IWorkContext workContext,
            TaxSettings taxSettings,
            IPluginFinder pluginFinder,
            IGeoLookupService geoLookupService,
            ICountryService countryService,
            CustomerSettings customerSettings,
            AddressSettings addressSettings,
            PromoSettings promoSettings,
            //IpromoService promoService,
            IPromoUtilities promoUtilities,
            ITaxServiceExtensions taxServiceExtensions)
            : base(addressService, workContext, taxSettings,
                                                    pluginFinder, geoLookupService, countryService,
                                                    customerSettings, addressSettings)
        {
            this._addressService = addressService;
            this._workContext = workContext;
            this._taxSettings = taxSettings;
            this._pluginFinder = pluginFinder;
            this._geoLookupService = geoLookupService;
            this._countryService = countryService;
            this._customerSettings = customerSettings;
            this._addressSettings = addressSettings;

            this._promoSettings = promoSettings;
            //this._promoService = promoService;
            this._promoUtilities = promoUtilities;
            this._taxServiceExtensions = taxServiceExtensions;
        }
开发者ID:Qixol,项目名称:Qixol.Promo.Nop.Plugin,代码行数:41,代码来源:TaxService.cs

示例9: 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;
        }
开发者ID:Qixol,项目名称:Qixol.Promo.Nop.Plugin,代码行数:29,代码来源:DiscountService.cs

示例10: DiscountService

 /// <summary>
 /// Ctor
 /// </summary>
 public DiscountService(ICacheManager cacheManager,
     IRepository<Discount> discountRepository,
     IRepository<DiscountUsageHistory> discountUsageHistoryRepository,
     ILocalizationService localizationService,
     IStoreContext storeContext,
     IGenericAttributeService genericAttributeService,
     IPluginFinder pluginFinder,
     IEventPublisher eventPublisher,
     IRepository<Product> productRepository,
     IRepository<Category> categoryRepository,
     IRepository<Manufacturer> manufacturerRepository
     )
 {
     this._cacheManager = cacheManager;
     this._discountRepository = discountRepository;
     this._discountUsageHistoryRepository = discountUsageHistoryRepository;
     this._localizationService = localizationService;
     this._storeContext = storeContext;
     this._genericAttributeService = genericAttributeService;
     this._pluginFinder = pluginFinder;
     this._eventPublisher = eventPublisher;
     this._productRepository = productRepository;
     this._categoryRepository = categoryRepository;
     this._manufacturerRepository = manufacturerRepository;
 }
开发者ID:powareverb,项目名称:grandnode,代码行数:28,代码来源:DiscountService.cs

示例11: 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;
        }
开发者ID:mandocaesar,项目名称:Mesinku,代码行数:46,代码来源:ShippingService.cs

示例12: MenuNavigator

        public MenuNavigator(IInfrastructureEventAggregator eventAggregator, IPluginFinder pluginFinder, IFormsManager formsManager)
        {
            _UnattachedMenus = new HashSet<KeyValuePair<string, IMenu>>();
            _FormsManager = formsManager;

            pluginFinder.RegisterCreatePluginsCallBack<IEndPointProvider>(ProcessPlugins);
            eventAggregator.Subscribe<IApplicationInitializedEvent>((args) => ApplicationInitialized());
        }
开发者ID:Nieko,项目名称:Nieko,代码行数:8,代码来源:MenuNavigator.cs

示例13: OpenAuthenticationService

 public OpenAuthenticationService(IRepository<ExternalAuthenticationRecord> externalAuthenticationRecordRepository,
     IPluginFinder pluginFinder,
     ExternalAuthenticationSettings externalAuthenticationSettings)
 {
     this._externalAuthenticationRecordRepository = externalAuthenticationRecordRepository;
     this._pluginFinder = pluginFinder;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     //this._customerService = customerService;
 }
开发者ID:AgileEAP,项目名称:AgileEAP-BPM,代码行数:9,代码来源:OpenAuthenticationService.cs

示例14: PluginDataStoresManager

 public PluginDataStoresManager(IPluginFinder plugInFinder, Func<Type, IDataStore> storeSupplier, Func<IModelViewStoresManager> modelViewStoresManagerFactory)
     : base(storeSupplier, modelViewStoresManagerFactory)
 {
     plugInFinder.RegisterCreatePluginsCallBack<IDataStoreRegistration>(
         (instances) =>
             {
                 DataStoreTypes = new List<Type>(instances.Select(plugIn => plugIn.Type));
             });
 }
开发者ID:Nieko,项目名称:Nieko,代码行数:9,代码来源:PluginDataStoresManager.cs

示例15: SmsTwillioController

 public SmsTwillioController(TwillioSettings twillioSettings,
     ISettingService settingService, IPluginFinder pluginFinder,
     ILocalizationService localizationService)
 {
     this._twillioSettings = twillioSettings;
     this._settingService = settingService;
     this._pluginFinder = pluginFinder;
     this._localizationService = localizationService;
 }
开发者ID:bane163,项目名称:nopcommerce-twilio-plugin,代码行数:9,代码来源:SmsTwillioController.cs


注:本文中的IPluginFinder类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。