Class GlobalModuleFeatures
Inheritance
object
GlobalModuleFeatures
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.GlobalFeatures.dll
Syntax
public abstract class GlobalModuleFeatures
Constructors
GlobalModuleFeatures(GlobalFeatureManager)
Declaration
protected GlobalModuleFeatures(GlobalFeatureManager featureManager)
Parameters
Properties
AllFeatures
Declaration
protected GlobalFeatureDictionary AllFeatures { get; }
Property Value
FeatureManager
Declaration
public GlobalFeatureManager FeatureManager { get; }
Property Value
Methods
AddFeature(GlobalFeature)
Declaration
protected void AddFeature(GlobalFeature feature)
Parameters
Disable(string)
Declaration
public virtual void Disable(string featureName)
Parameters
Type |
Name |
Description |
string |
featureName |
|
Disable<TFeature>()
Declaration
public virtual void Disable<TFeature>() where TFeature : GlobalFeature
Type Parameters
Name |
Description |
TFeature |
|
DisableAll()
Declaration
public virtual void DisableAll()
Enable(string)
Declaration
public virtual void Enable(string featureName)
Parameters
Type |
Name |
Description |
string |
featureName |
|
Enable<TFeature>()
Declaration
public virtual void Enable<TFeature>() where TFeature : GlobalFeature
Type Parameters
Name |
Description |
TFeature |
|
EnableAll()
Declaration
public virtual void EnableAll()
GetFeature(string)
Declaration
public virtual GlobalFeature GetFeature(string featureName)
Parameters
Type |
Name |
Description |
string |
featureName |
|
Returns
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 |
System.Collections.Generic.IReadOnlyList<T><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