6 references to ServiceA
Microsoft.AspNetCore.Hosting.Tests (6)
WebHostBuilderTests.cs (6)
468
services.AddTransient<
ServiceA
>();
481
Assert.NotNull(host.Services.GetRequiredService<
ServiceA
>());
1645
internal
ServiceA
ServiceA { get; set; }
1653
ServiceADescriptor = services.FirstOrDefault(s => s.ServiceType == typeof(
ServiceA
));
1658
ServiceA = app.ApplicationServices.GetService<
ServiceA
>();
1692
.ConfigureServices(services => services.AddSingleton<
ServiceA
>())