WIP - Updates property editor resolver to use IoC, updates base prop editor class to require an ILogger which now get's ctor injected. This is a WIP because even though it builds there's a bunch of stuff not working, need to run/fix all tests (soon)

This commit is contained in:
Shannon
2015-01-23 20:00:44 +11:00
parent a292c60402
commit 887ccaae83
58 changed files with 617 additions and 180 deletions

View File

@@ -4,6 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.PropertyEditors;
@@ -12,7 +13,7 @@ namespace Umbraco.Web.PropertyEditors
[PropertyEditor(Constants.PropertyEditors.MultiNodeTreePickerAlias, "Multinode Treepicker", "contentpicker")]
public class MultiNodeTreePickerPropertyEditor : PropertyEditor
{
public MultiNodeTreePickerPropertyEditor()
public MultiNodeTreePickerPropertyEditor(ILogger logger) : base(logger)
{
_internalPreValues = new Dictionary<string, object>
{