Moves some services 'up' to Core, moves core DI registrations 'up' to UmbracoBuilder, moves Composing ext to DependencyInjection namespaces as UmbracoBuilder ext
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Umbraco.Core.DependencyInjection
|
||||
where TService : class
|
||||
=> services.Replace(ServiceDescriptor.Singleton(instance));
|
||||
|
||||
public static IServiceCollection AddLazySupport(this IServiceCollection services)
|
||||
internal static IServiceCollection AddLazySupport(this IServiceCollection services)
|
||||
{
|
||||
services.Replace(ServiceDescriptor.Transient(typeof(Lazy<>), typeof(LazyResolve<>)));
|
||||
return services;
|
||||
|
||||
Reference in New Issue
Block a user