Files
Umbraco-CMS/src/Umbraco.Infrastructure/Persistence/NPocoMapperCollection.cs
Shannon bc84ffe260 Changes all collections from collection builders to resolve the concrete instances lazily.
This means we don't have to inject Lazy<T> all over the place when dealing with
colleciton builders and circular references since this will automatically just work OOTB.
This in theory should also allocate less instances during startup.
2021-07-12 15:28:46 -06:00

15 lines
345 B
C#

using System;
using System.Collections.Generic;
using NPoco;
using Umbraco.Cms.Core.Composing;
namespace Umbraco.Cms.Infrastructure.Persistence
{
public sealed class NPocoMapperCollection : BuilderCollectionBase<IMapper>
{
public NPocoMapperCollection(Func<IEnumerable<IMapper>> items) : base(items)
{
}
}
}