9 instantiations of ServiceAfter
Microsoft.AspNetCore.Hosting.Tests (9)
StartupManagerTests.cs (9)
155
services.Services.TryAddSingleton(new
ServiceAfter
{ Message = "Configure container" });
168
services.TryAddSingleton(new
ServiceAfter
{ Message = "Configure services" });
174
services.Services.TryAddSingleton(new
ServiceAfter
{ Message = "Configure container" });
206
services.Services.AddSingleton(new
ServiceAfter
{ Message = $"ConfigureContainerFilter After {AdditionalData}" });
210
services.Services.TryAddSingleton(new
ServiceAfter
{ Message = $"ConfigureContainerFilter After {AdditionalData}" });
221
services.TryAddSingleton(new
ServiceAfter
{ Message = "Configure services" });
255
services.AddSingleton(new
ServiceAfter
{ Message = $"StartupServicesFilter After {AdditionalData}" });
259
services.TryAddSingleton(new
ServiceAfter
{ Message = $"StartupServicesFilter After {AdditionalData}" });
270
services.TryAddSingleton(new
ServiceAfter
{ Message = "Configure services" });
10 references to ServiceAfter
Microsoft.AspNetCore.Hosting.Tests (10)
StartupManagerTests.cs (10)
32
var
after = applicationServices.GetRequiredService<
ServiceAfter
>();
54
var
after = applicationServices.GetRequiredService<
ServiceAfter
>();
100
var
after = applicationServices.GetRequiredService<
ServiceAfter
>();
122
var
after = applicationServices.GetRequiredService<
ServiceAfter
>();
144
var
after = applicationServices.GetRequiredService<
ServiceAfter
>();