Пример #1
0
        protected FactBase()
        {
            var database = new InMemoryDatabase();
            var services = new ServiceCollection();

            new Bootstrapper(services, database).Bootstrap();

            Scope = services.BuildServiceProvider();
        }
Пример #2
0
        protected FactBase()
        {
            var database = new InMemoryDatabase();
            var services = new ServiceCollection();

            new Bootstrapper(services, database).Bootstrap();

            Scope      = services.BuildServiceProvider();
            httpClient = new CustomWebApplicationFactory().CreateClient();
        }