Show / Hide Table of Contents

Class GlobalModuleFeatures

Inheritance
object
GlobalModuleFeatures
AbpAspNetCoreMvcTestFeatures
TestGlobalModuleFeatures
GlobalCmsKitFeatures
GlobalCmsKitProFeatures
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 abstract class GlobalModuleFeatures

Constructors

GlobalModuleFeatures(GlobalFeatureManager)

Declaration
protected GlobalModuleFeatures(GlobalFeatureManager featureManager)
Parameters
Type Name Description
GlobalFeatureManager featureManager

Properties

AllFeatures

Declaration
protected GlobalFeatureDictionary AllFeatures { get; }
Property Value
Type Description
GlobalFeatureDictionary

FeatureManager

Declaration
public GlobalFeatureManager FeatureManager { get; }
Property Value
Type Description
GlobalFeatureManager

Methods

AddFeature(GlobalFeature)

Declaration
protected void AddFeature(GlobalFeature feature)
Parameters
Type Name Description
GlobalFeature feature

Disable(string)

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

DisableAll()

Declaration
public virtual void DisableAll()

Disable<TFeature>()

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

Enable(string)

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

EnableAll()

Declaration
public virtual void EnableAll()

Enable<TFeature>()

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

GetFeature(string)

Declaration
public virtual GlobalFeature GetFeature(string featureName)
Parameters
Type Name Description
string featureName
Returns
Type Description
GlobalFeature

GetFeature<TFeature>()

Declaration
public virtual TFeature GetFeature<TFeature>() where TFeature : GlobalFeature
Returns
Type Description
TFeature
Type Parameters
Name Description
TFeature

GetFeatures()

Declaration
public virtual IReadOnlyList<GlobalFeature> GetFeatures()
Returns
Type Description
IReadOnlyList<GlobalFeature>

SetEnabled(string, bool)

Declaration
public virtual void SetEnabled(string featureName, bool isEnabled)
Parameters
Type Name Description
string featureName
bool isEnabled

SetEnabled<TFeature>(bool)

Declaration
public virtual void SetEnabled<TFeature>(bool isEnabled) where TFeature : GlobalFeature
Parameters
Type Name Description
bool isEnabled
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