Renamed config interfaces properly with Section suffix, re-implemented the For<T> UmbracoConfiguration method to retreive specific settings... might use this entirely instead of the nested access as it might make it easier to mock.
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Configuration;
|
||||
|
||||
namespace Umbraco.Core.Configuration.UmbracoSettings
|
||||
{
|
||||
[ConfigurationKey("umbracoConfiguration/settings/content")]
|
||||
internal class ContentElement : ConfigurationElement, IContentSection
|
||||
{
|
||||
[ConfigurationProperty("imaging")]
|
||||
@@ -309,7 +310,7 @@ namespace Umbraco.Core.Configuration.UmbracoSettings
|
||||
get { return Imaging.ImageTagAllowedAttributes; }
|
||||
}
|
||||
|
||||
IEnumerable<IContentImagingAutoFillUploadField> IContentSection.ImageAutoFillProperties
|
||||
IEnumerable<IImagingAutoFillUploadField> IContentSection.ImageAutoFillProperties
|
||||
{
|
||||
get { return Imaging.ImageAutoFillProperties; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user