diff --git a/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs b/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs index 441d7fde2c..90c6e184aa 100644 --- a/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs +++ b/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs @@ -17,14 +17,17 @@ namespace Umbraco.Core.PropertyEditors public PropertyEditorResolver(Func> typeListProducerList) : base(typeListProducerList, ObjectLifetimeScope.Application) { + _unioned = new Lazy>(() => Values.Union(ManifestBuilder.PropertyEditors).ToList()); } + private readonly Lazy> _unioned; + /// /// Returns the property editors /// public IEnumerable PropertyEditors { - get { return Values.Union(ManifestBuilder.PropertyEditors); } + get { return _unioned.Value; } } ///