From f42b122e7385de0436f3a69c40636638acc42990 Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 14 Mar 2018 13:35:51 +1100 Subject: [PATCH] adding missing files --- src/Umbraco.Web/Features/EnabledFeatures.cs | 10 ++++++++++ src/Umbraco.Web/Features/UmbracoFeatures.cs | 9 +-------- src/Umbraco.Web/Umbraco.Web.csproj | 1 + 3 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 src/Umbraco.Web/Features/EnabledFeatures.cs diff --git a/src/Umbraco.Web/Features/EnabledFeatures.cs b/src/Umbraco.Web/Features/EnabledFeatures.cs new file mode 100644 index 0000000000..92752e1c6a --- /dev/null +++ b/src/Umbraco.Web/Features/EnabledFeatures.cs @@ -0,0 +1,10 @@ +namespace Umbraco.Web.Features +{ + /// + /// Represents enabled features. + /// + internal class EnabledFeatures + { + + } +} diff --git a/src/Umbraco.Web/Features/UmbracoFeatures.cs b/src/Umbraco.Web/Features/UmbracoFeatures.cs index abe9a76d06..4814f59b14 100644 --- a/src/Umbraco.Web/Features/UmbracoFeatures.cs +++ b/src/Umbraco.Web/Features/UmbracoFeatures.cs @@ -15,14 +15,7 @@ namespace Umbraco.Web.Features { Disabled = new DisabledFeatures(); } - - // note - // currently, the only thing a FeatureSet does is list disabled controllers, - // but eventually we could enable and disable more parts of Umbraco. and then - // we would need some logic to figure out what's enabled/disabled - hence it's - // better to use IsEnabled, where the logic would go, rather than directly - // accessing the Disabled collection. - + /// /// Gets the disabled features. /// diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index aa21001093..c6d528bb3d 100644 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -331,6 +331,7 @@ +