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