Show / Hide Table of Contents

Class GlobalFeatureManager

Inheritance
object
GlobalFeatureManager
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.GlobalFeatures
Assembly: Volo.Abp.GlobalFeatures.dll
Syntax
public class GlobalFeatureManager

Constructors

GlobalFeatureManager()

Declaration
protected GlobalFeatureManager()

Properties

Configuration

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

EnabledFeatures

Declaration
protected HashSet<string> EnabledFeatures { get; }
Property Value
Type Description
HashSet<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
public virtual void Disable(string featureName)
Parameters
Type Name Description
string featureName

Disable(Type)

Declaration
public virtual void Disable(Type featureType)
Parameters
Type Name Description
Type featureType

Disable<TFeature>()

Declaration
public virtual void Disable<TFeature>()
Type Parameters
Name Description
TFeature

Enable(string)

Declaration
public virtual void Enable(string featureName)
Parameters
Type Name Description
string featureName

Enable(Type)

Declaration
public virtual void Enable(Type featureType)
Parameters
Type Name Description
Type featureType

Enable<TFeature>()

Declaration
public virtual void Enable<TFeature>()
Type Parameters
Name Description
TFeature

GetEnabledFeatureNames()

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

IsEnabled(string)

Declaration
public virtual bool IsEnabled(string featureName)
Parameters
Type Name Description
string featureName
Returns
Type Description
bool

IsEnabled(Type)

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

IsEnabled<TFeature>()

Declaration
public virtual bool IsEnabled<TFeature>()
Returns
Type Description
bool
Type Parameters
Name Description
TFeature

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform