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:
Shannon
2020-12-24 11:46:17 +11:00
parent f55ace434b
commit 1f6297ad6b
37 changed files with 301 additions and 298 deletions

View File

@@ -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;