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


C# IFeatureManager类代码示例

本文整理汇总了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;
 }
开发者ID:yuzukwok,项目名称:aspnetboilerplate,代码行数:27,代码来源:AbpUserConfigurationBuilder.cs

示例2: FeaturesScriptManager

        public FeaturesScriptManager(IFeatureManager featureManager, IFeatureChecker featureChecker)
        {
            _featureManager = featureManager;
            _featureChecker = featureChecker;

            AbpSession = NullAbpSession.Instance;
        }
开发者ID:mlkj,项目名称:2016YL.MaterialSystem,代码行数:7,代码来源:FeaturesScriptManager.cs

示例3: SyncProjectsTask

 public SyncProjectsTask(
     IFeatureManager featureManager,
     IModuleExecution moduleExecution)
 {
     _featureManager = featureManager;
     _moduleExecution = moduleExecution;
 }
开发者ID:marler8997,项目名称:Protobuild,代码行数:7,代码来源:SyncProjectsTask.cs

示例4: ShapePlacementParsingStrategy

 public ShapePlacementParsingStrategy(
     IFeatureManager featureManager,
     IPlacementFileParser placementFileParser)
 {
     _featureManager = featureManager;
     _placementFileParser = placementFileParser;
 }
开发者ID:huoxudong125,项目名称:Orchard2,代码行数:7,代码来源:ShapePlacementParsingStrategy.cs

示例5: FeatureChecker

        /// <summary>
        /// Creates a new <see cref="FeatureChecker"/> object.
        /// </summary>
        public FeatureChecker(IFeatureManager featureManager)
        {
            _featureManager = featureManager;

            FeatureValueStore = NullFeatureValueStore.Instance;
            OwSession = NullOwSession.Instance;
        }
开发者ID:zhongkai1010,项目名称:OneWork,代码行数:10,代码来源:FeatureChecker.cs

示例6: FeatureSyncExportStep

        public FeatureSyncExportStep(IFeatureManager featureManager) 
        {
            _featureManager = featureManager;

            Logger = NullLogger.Instance;
            T = NullLocalizer.Instance;
        }
开发者ID:SmartFire,项目名称:CJP.ContentSync,代码行数:7,代码来源:FeatureSyncExportStep.cs

示例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;
        }
开发者ID:juaqaai,项目名称:CompanyGroup,代码行数:26,代码来源:AdminController.cs

示例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;
        }
开发者ID:Higea,项目名称:Orchard,代码行数:25,代码来源:ThemeService.cs

示例9: FeatureCommands

 public FeatureCommands(IModuleService moduleService, INotifier notifier, IFeatureManager featureManager, ShellDescriptor shellDescriptor)
 {
     _moduleService = moduleService;
     _notifier = notifier;
     _featureManager = featureManager;
     _shellDescriptor = shellDescriptor;
 }
开发者ID:gokhandisikara,项目名称:Coevery-Framework,代码行数:7,代码来源:FeatureCommands.cs

示例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;
        }
开发者ID:Zlatinsz,项目名称:podnebeto,代码行数:30,代码来源:AdminController.cs

示例11: FieldController

 public FieldController(
     IContentDefinitionManager contentDefinitionManager,
     IOrchardServices orchardServices,
     IFeatureManager featureManager) {
     _contentDefinitionManager = contentDefinitionManager;
     _orchardServices = orchardServices;
     _featureManager = featureManager;
 }
开发者ID:sjbisch,项目名称:Orchard,代码行数:8,代码来源:FieldController.cs

示例12: TaxonomyController

 public TaxonomyController(
     IUpgradeService upgradeService,
     IOrchardServices orchardServices,
     IFeatureManager featureManager) {
     _upgradeService = upgradeService;
     _orchardServices = orchardServices;
     _featureManager = featureManager;
 }
开发者ID:anycall,项目名称:Orchard,代码行数:8,代码来源:TaxonomyController.cs

示例13: FeatureStep

        public FeatureStep(
            IFeatureManager featureManager,
            ILoggerFactory logger,
            IStringLocalizer<FeatureStep> localizer) : base(logger, localizer)
        {

            _featureManager = featureManager;
        }
开发者ID:jchenga,项目名称:Orchard2,代码行数:8,代码来源:FeatureStep.cs

示例14: ContentPickerController

 public ContentPickerController(
     IUpgradeService upgradeService,
     IOrchardServices orchardServices,
     IFeatureManager featureManager) {
     _upgradeService = upgradeService;
     _orchardServices = orchardServices;
     _featureManager = featureManager;
 }
开发者ID:SunRobin2015,项目名称:RobinWithOrchard,代码行数:8,代码来源:ContentPickerController.cs

示例15: InstallPackageCommand

 public InstallPackageCommand(
     IHostPlatformDetector hostPlatformDetector,
     IPackageManager packageManager,
     IFeatureManager featureManager)
 {
     this.m_HostPlatformDetector = hostPlatformDetector;
     this.m_PackageManager = packageManager;
     _featureManager = featureManager;
 }
开发者ID:marler8997,项目名称:Protobuild,代码行数:9,代码来源:InstallPackageCommand.cs


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