本文整理汇总了C#中IFeatureManager类的典型用法代码示例。如果您正苦于以下问题:C# IFeatureManager类的具体用法?C# IFeatureManager怎么用?C# IFeatureManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IFeatureManager类属于命名空间,在下文中一共展示了IFeatureManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AbpUserConfigurationBuilder
public AbpUserConfigurationBuilder(
IMultiTenancyConfig multiTenancyConfig,
ILanguageManager languageManager,
ILocalizationManager localizationManager,
IFeatureManager featureManager,
IFeatureChecker featureChecker,
IPermissionManager permissionManager,
IUserNavigationManager userNavigationManager,
ISettingDefinitionManager settingDefinitionManager,
ISettingManager settingManager,
IAbpAntiForgeryConfiguration abpAntiForgeryConfiguration,
IAbpSession abpSession,
IPermissionChecker permissionChecker)
{
_multiTenancyConfig = multiTenancyConfig;
_languageManager = languageManager;
_localizationManager = localizationManager;
_featureManager = featureManager;
_featureChecker = featureChecker;
_permissionManager = permissionManager;
_userNavigationManager = userNavigationManager;
_settingDefinitionManager = settingDefinitionManager;
_settingManager = settingManager;
_abpAntiForgeryConfiguration = abpAntiForgeryConfiguration;
_abpSession = abpSession;
_permissionChecker = permissionChecker;
}
示例2: FeaturesScriptManager
public FeaturesScriptManager(IFeatureManager featureManager, IFeatureChecker featureChecker)
{
_featureManager = featureManager;
_featureChecker = featureChecker;
AbpSession = NullAbpSession.Instance;
}
示例3: SyncProjectsTask
public SyncProjectsTask(
IFeatureManager featureManager,
IModuleExecution moduleExecution)
{
_featureManager = featureManager;
_moduleExecution = moduleExecution;
}
示例4: ShapePlacementParsingStrategy
public ShapePlacementParsingStrategy(
IFeatureManager featureManager,
IPlacementFileParser placementFileParser)
{
_featureManager = featureManager;
_placementFileParser = placementFileParser;
}
示例5: FeatureChecker
/// <summary>
/// Creates a new <see cref="FeatureChecker"/> object.
/// </summary>
public FeatureChecker(IFeatureManager featureManager)
{
_featureManager = featureManager;
FeatureValueStore = NullFeatureValueStore.Instance;
OwSession = NullOwSession.Instance;
}
示例6: FeatureSyncExportStep
public FeatureSyncExportStep(IFeatureManager featureManager)
{
_featureManager = featureManager;
Logger = NullLogger.Instance;
T = NullLocalizer.Instance;
}
示例7: AdminController
public AdminController(
IEnumerable<IExtensionDisplayEventHandler> extensionDisplayEventHandlers,
IOrchardServices services,
IDataMigrationManager dataMigraitonManager,
IFeatureManager featureManager,
ISiteThemeService siteThemeService,
IExtensionManager extensionManager,
ShellDescriptor shellDescriptor,
IPreviewTheme previewTheme,
IThemeService themeService,
IReportsCoordinator reportsCoordinator) {
Services = services;
_extensionDisplayEventHandler = extensionDisplayEventHandlers.FirstOrDefault();
_dataMigrationManager = dataMigraitonManager;
_siteThemeService = siteThemeService;
_extensionManager = extensionManager;
_shellDescriptor = shellDescriptor;
_featureManager = featureManager;
_previewTheme = previewTheme;
_themeService = themeService;
_reportsCoordinator = reportsCoordinator;
T = NullLocalizer.Instance;
Logger = NullLogger.Instance;
}
示例8: ThemeService
public ThemeService(
IOrchardServices orchardServices,
IExtensionManager extensionManager,
IFeatureManager featureManager,
IEnumerable<IThemeSelector> themeSelectors,
IVirtualPathProvider virtualPathProvider,
ICacheManager cacheManager,
ISiteThemeService siteThemeService) {
Services = orchardServices;
_extensionManager = extensionManager;
_featureManager = featureManager;
_themeSelectors = themeSelectors;
_virtualPathProvider = virtualPathProvider;
_cacheManager = cacheManager;
_siteThemeService = siteThemeService;
if (_featureManager.FeatureDependencyNotification == null) {
_featureManager.FeatureDependencyNotification = GenerateWarning;
}
Logger = NullLogger.Instance;
T = NullLocalizer.Instance;
}
示例9: FeatureCommands
public FeatureCommands(IModuleService moduleService, INotifier notifier, IFeatureManager featureManager, ShellDescriptor shellDescriptor)
{
_moduleService = moduleService;
_notifier = notifier;
_featureManager = featureManager;
_shellDescriptor = shellDescriptor;
}
示例10: AdminController
public AdminController(
IEnumerable<IExtensionDisplayEventHandler> extensionDisplayEventHandlers,
IOrchardServices services,
IModuleService moduleService,
IDataMigrationManager dataMigrationManager,
IReportsCoordinator reportsCoordinator,
IExtensionManager extensionManager,
IFeatureManager featureManager,
IRecipeHarvester recipeHarvester,
IRecipeManager recipeManager,
ShellDescriptor shellDescriptor,
ShellSettings shellSettings,
IShapeFactory shapeFactory)
{
Services = services;
_extensionDisplayEventHandler = extensionDisplayEventHandlers.FirstOrDefault();
_moduleService = moduleService;
_dataMigrationManager = dataMigrationManager;
_reportsCoordinator = reportsCoordinator;
_extensionManager = extensionManager;
_featureManager = featureManager;
_recipeHarvester = recipeHarvester;
_recipeManager = recipeManager;
_shellDescriptor = shellDescriptor;
_shellSettings = shellSettings;
Shape = shapeFactory;
T = NullLocalizer.Instance;
Logger = NullLogger.Instance;
}
示例11: FieldController
public FieldController(
IContentDefinitionManager contentDefinitionManager,
IOrchardServices orchardServices,
IFeatureManager featureManager) {
_contentDefinitionManager = contentDefinitionManager;
_orchardServices = orchardServices;
_featureManager = featureManager;
}
示例12: TaxonomyController
public TaxonomyController(
IUpgradeService upgradeService,
IOrchardServices orchardServices,
IFeatureManager featureManager) {
_upgradeService = upgradeService;
_orchardServices = orchardServices;
_featureManager = featureManager;
}
示例13: FeatureStep
public FeatureStep(
IFeatureManager featureManager,
ILoggerFactory logger,
IStringLocalizer<FeatureStep> localizer) : base(logger, localizer)
{
_featureManager = featureManager;
}
示例14: ContentPickerController
public ContentPickerController(
IUpgradeService upgradeService,
IOrchardServices orchardServices,
IFeatureManager featureManager) {
_upgradeService = upgradeService;
_orchardServices = orchardServices;
_featureManager = featureManager;
}
示例15: InstallPackageCommand
public InstallPackageCommand(
IHostPlatformDetector hostPlatformDetector,
IPackageManager packageManager,
IFeatureManager featureManager)
{
this.m_HostPlatformDetector = hostPlatformDetector;
this.m_PackageManager = packageManager;
_featureManager = featureManager;
}