Simplifies the IContentSection so that there's no nesting of interface classes and updates some unit tests

This commit is contained in:
Shannon
2013-09-16 15:52:59 +10:00
parent 81b43545c1
commit 09b68a75be
65 changed files with 577 additions and 504 deletions

View File

@@ -3,7 +3,7 @@ using System.Configuration;
namespace Umbraco.Core.Configuration.UmbracoSettings
{
internal class ContentScriptEditorElement : ConfigurationElement, IContentScriptEditor
internal class ContentScriptEditorElement : ConfigurationElement
{
[ConfigurationProperty("scriptFolderPath")]
internal InnerTextConfigurationElement<string> ScriptFolderPath
@@ -30,7 +30,7 @@ namespace Umbraco.Core.Configuration.UmbracoSettings
}
[ConfigurationProperty("scriptDisableEditor")]
internal InnerTextConfigurationElement<bool> DisableScriptEditor
internal InnerTextConfigurationElement<bool> ScriptEditorDisable
{
get
{
@@ -41,19 +41,5 @@ namespace Umbraco.Core.Configuration.UmbracoSettings
}
}
string IContentScriptEditor.ScriptFolderPath
{
get { return ScriptFolderPath; }
}
IEnumerable<string> IContentScriptEditor.ScriptFileTypes
{
get { return ScriptFileTypes; }
}
bool IContentScriptEditor.DisableScriptEditor
{
get { return DisableScriptEditor; }
}
}
}