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.
14 lines
329 B
C#
14 lines
329 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Umbraco.Cms.Core.Composing;
|
|
|
|
namespace Umbraco.Cms.Core.Routing
|
|
{
|
|
public class ContentFinderCollection : BuilderCollectionBase<IContentFinder>
|
|
{
|
|
public ContentFinderCollection(Func<IEnumerable<IContentFinder>> items) : base(items)
|
|
{
|
|
}
|
|
}
|
|
}
|