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

@@ -2,8 +2,11 @@
namespace Umbraco.Core.Configuration
{
// note - still must work on how to support read-only and ResetSection for collections
// note - still must work on how to spread config over files (aka DeepConfig in v5)
public interface IUmbracoConfigurationSection
{
}
/// <summary>
/// Represents an Umbraco section within the configuration file.
@@ -23,11 +26,5 @@ namespace Umbraco.Core.Configuration
/// </summary>
protected bool IsPresent { get { return ElementInformation.IsPresent; } }
/// <summary>
/// Resets settings that were set programmatically, to their initial values.
/// </summary>
/// <remarks>>To be used in unit tests.</remarks>
internal protected virtual void ResetSection()
{ }
}
}