本文整理汇总了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;
}
示例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;
}
示例3: Scheduler
public Scheduler(IPluginFinder plugins, IHeart heart, IWorker worker, IErrorNotifier errorHandler)
{
_actions = new List<ScheduledAction>(InstantiateActions(plugins));
_heart = heart;
_worker = worker;
_errorHandler = errorHandler;
}
示例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;
}
示例5: StoreConnectionStringProvider
public StoreConnectionStringProvider(IPluginFinder pluginFinder)
{
pluginFinder.RegisterCreatePluginsCallBack<IDataStoreRegistration>(registrations =>
{
_StoreConnectionNames = registrations.ToDictionary(r => r.Type, r => r.ConnectionDetails);
});
}
示例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;
}
示例7: FormsManager
public FormsManager(IPluginFinder pluginFinder, Func<IViewNavigator> regionNavigatorSupplier, FormExceptionHandler formExceptionHandler)
{
_RegionNavigatorSupplier = regionNavigatorSupplier;
_FormExceptionHandler = formExceptionHandler;
pluginFinder.RegisterCreatePluginsCallBack<IFormsProvider>(RegisterForms);
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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());
}
示例13: OpenAuthenticationService
public OpenAuthenticationService(IRepository<ExternalAuthenticationRecord> externalAuthenticationRecordRepository,
IPluginFinder pluginFinder,
ExternalAuthenticationSettings externalAuthenticationSettings)
{
this._externalAuthenticationRecordRepository = externalAuthenticationRecordRepository;
this._pluginFinder = pluginFinder;
this._externalAuthenticationSettings = externalAuthenticationSettings;
//this._customerService = customerService;
}
示例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));
});
}
示例15: SmsTwillioController
public SmsTwillioController(TwillioSettings twillioSettings,
ISettingService settingService, IPluginFinder pluginFinder,
ILocalizationService localizationService)
{
this._twillioSettings = twillioSettings;
this._settingService = settingService;
this._pluginFinder = pluginFinder;
this._localizationService = localizationService;
}