77 references to Scoped
Aspire.Components.Common.TestUtilities (1)
Aspire.Microsoft.Data.SqlClient.Tests (1)
Microsoft.AspNetCore.Components.WebView.Test (2)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.DotNet.Internal.DependencyInjection.Testing (2)
Microsoft.Extensions.AI.Tests (10)
Microsoft.Extensions.Caching.SqlServer.Tests (1)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (2)
Microsoft.Extensions.DependencyInjection (5)
Microsoft.Extensions.DependencyInjection.Abstractions (50)
ServiceDescriptor.cs (20)
533/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
542return DescribeKeyed<TService, TImplementation>(null, ServiceLifetime.Scoped);
548/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
558return DescribeKeyed<TService, TImplementation>(serviceKey, ServiceLifetime.Scoped);
564/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
573return Describe(service, implementationType, ServiceLifetime.Scoped);
579/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
590return DescribeKeyed(service, serviceKey, implementationType, ServiceLifetime.Scoped);
597/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
610return Describe(typeof(TService), implementationFactory, ServiceLifetime.Scoped);
617/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
632return DescribeKeyed(typeof(TService), serviceKey, implementationFactory, ServiceLifetime.Scoped);
638/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
648return Describe(typeof(TService), implementationFactory, ServiceLifetime.Scoped);
654/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
665return DescribeKeyed(typeof(TService), serviceKey, implementationFactory, ServiceLifetime.Scoped);
671/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
681return Describe(service, implementationFactory, ServiceLifetime.Scoped);
687/// and the <see cref="ServiceLifetime.Scoped"/> lifetime.
698return DescribeKeyed(service, serviceKey, implementationFactory, ServiceLifetime.Scoped);
Microsoft.Extensions.Http (2)