1 implementation of IFakeStartupCallback
Microsoft.AspNetCore.Hosting.Tests (1)
StartupManagerTests.cs (1)
753
public class FakeStartupCallback :
IFakeStartupCallback
8 references to IFakeStartupCallback
Microsoft.AspNetCore.Hosting.Tests (8)
Fakes\StartupWithServices.cs (3)
10
private readonly
IFakeStartupCallback
_fakeStartupCallback;
12
public StartupWithServices(
IFakeStartupCallback
fakeStartupCallback)
17
public void Configure(IApplicationBuilder builder,
IFakeStartupCallback
fakeStartupCallback2)
StartupManagerTests.cs (5)
294
serviceCollection.AddSingleton<
IFakeStartupCallback
>(callbackStartup);
364
serviceCollection.AddSingleton<
IFakeStartupCallback
>(new FakeStartupCallback());
411
serviceCollection.AddSingleton<
IFakeStartupCallback
>(new FakeStartupCallback());
425
serviceCollection.AddSingleton<
IFakeStartupCallback
>(new FakeStartupCallback());
440
serviceCollection.AddSingleton<
IFakeStartupCallback
>(new FakeStartupCallback());