4 references to MyStartupFilter
Microsoft.AspNetCore.Hosting.Tests (4)
WebHostBuilderTests.cs (4)
1293
services.AddSingleton<IStartupFilter,
MyStartupFilter
>();
1301
var
filter = (
MyStartupFilter
)host.Services.GetServices<IStartupFilter>().FirstOrDefault(s => s is
MyStartupFilter
);