public TestServerHelper() { ClientProvider = new TestClientProvider(); ApiServer = TestServer.Create((app) => { app.UseServices(services => { services.AddTransient <IClientProvider>(s => ClientProvider); }); app.UseMulti(); }); }
public TestServerHelper() { ClientProvider = new TestClientProvider(); ApiServer = TestServer.Create((app) => { app.UseServices(services => { services.AddTransient<IClientProvider>(s => ClientProvider); }); app.UseMulti(); }); }