Esempio n. 1
0
 public FactoryWrapper(Func <WebApplicationFactory <T> > factoryFactory)
 {
     _factory = factoryFactory();
     ContextBuilderFactory.AddForCleanup(this);
 }
Esempio n. 2
0
 public Wrapper(TestServer testServer, HttpClient client)
 {
     _testServer = testServer;
     _client     = client;
     ContextBuilderFactory.AddForCleanup(this);
 }