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