Show / Hide Table of Contents

Class GlobalFeatureManager

Inheritance
System.Object
GlobalFeatureManager
Namespace: Volo.Abp.GlobalFeatures
Assembly: Volo.Abp.GlobalFeatures.dll
Syntax
public class GlobalFeatureManager : object

Properties

Configuration

A common dictionary to store arbitrary configurations.

Declaration
public Dictionary<object, object> Configuration { get; }
Property Value
Type Description
Dictionary<System.Object, System.Object>

EnabledFeatures

Declaration
protected HashSet<string> EnabledFeatures { get; }
Property Value
Type Description
HashSet<System.String>

Instance

Declaration
public static GlobalFeatureManager Instance { get; protected set; }
Property Value
Type Description
GlobalFeatureManager

Modules

Declaration
public GlobalModuleFeaturesDictionary Modules { get; }
Property Value
Type Description
GlobalModuleFeaturesDictionary

Methods

Disable(String)

Declaration
protected void Disable(string featureName)
Parameters
Type Name Description
System.String featureName

Enable(String)

Declaration
protected void Enable(string featureName)
Parameters
Type Name Description
System.String featureName

GetEnabledFeatureNames()

Declaration
public virtual IEnumerable<string> GetEnabledFeatureNames()
Returns
Type Description
IEnumerable<System.String>

IsEnabled(String)

Declaration
public virtual bool IsEnabled(string featureName)
Parameters
Type Name Description
System.String featureName
Returns
Type Description
System.Boolean

IsEnabled(Type)

Declaration
public virtual bool IsEnabled(Type featureType)
Parameters
Type Name Description
Type featureType
Returns
Type Description
System.Boolean

IsEnabled<TFeature>()

Declaration
public virtual bool IsEnabled<TFeature>()

    where TFeature : GlobalFeature
Returns
Type Description
System.Boolean
Type Parameters
Name Description
TFeature

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft