Class UmbracoFeatures
Represents the Umbraco features.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Features
Assembly: Umbraco.Core.dll
Syntax
public class UmbracoFeatures
Constructors
View SourceUmbracoFeatures()
Initializes a new instance of the UmbracoFeatures class.
Declaration
public UmbracoFeatures()
Properties
View SourceDisabled
Gets the disabled features.
Declaration
public DisabledFeatures Disabled { get; }
Property Value
Type | Description |
---|---|
DisabledFeatures |
Enabled
Gets the enabled features.
Declaration
public EnabledFeatures Enabled { get; }
Property Value
Type | Description |
---|---|
EnabledFeatures |
Methods
View SourceIsControllerEnabled(Nullable<Type>)
Determines whether a controller is enabled.
Declaration
public bool IsControllerEnabled(Type? feature)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<Type> | feature |
Returns
Type | Description |
---|---|
System.Boolean |