7 instantiations of ServiceBefore
Microsoft.AspNetCore.Hosting.Tests (7)
StartupManagerTests.cs (7)
154
services.Services.TryAddSingleton(new
ServiceBefore
{ Message = "Configure container" });
167
services.TryAddSingleton(new
ServiceBefore
{ Message = "Configure services" });
173
services.Services.TryAddSingleton(new
ServiceBefore
{ Message = "Configure container" });
199
services.Services.TryAddSingleton(new
ServiceBefore
{ Message = $"ConfigureContainerFilter Before {AdditionalData}" });
220
services.TryAddSingleton(new
ServiceBefore
{ Message = "Configure services" });
248
services.TryAddSingleton(new
ServiceBefore
{ Message = $"StartupServicesFilter Before {AdditionalData}" });
269
services.TryAddSingleton(new
ServiceBefore
{ Message = "Configure services" });
10 references to ServiceBefore
Microsoft.AspNetCore.Hosting.Tests (10)
StartupManagerTests.cs (10)
31
var
before = applicationServices.GetRequiredService<
ServiceBefore
>();
53
var
before = applicationServices.GetRequiredService<
ServiceBefore
>();
99
var
before = applicationServices.GetRequiredService<
ServiceBefore
>();
121
var
before = applicationServices.GetRequiredService<
ServiceBefore
>();
143
var
before = applicationServices.GetRequiredService<
ServiceBefore
>();