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