public Startup(IConfiguration configuration, IWebHostEnvironment environment, ILoggerFactory loggerFactory) { Configuration = configuration; Environment = environment; DbRegistration.Init(); _logger = loggerFactory.CreateLogger <Startup>(); }
public Mongo2GoFixture() { DbRegistration.Init(); _runner = RUN_WITH_STANDARD_PORT ? MongoDbRunner.StartForDebugging() : MongoDbRunner.Start(); MongoClient = new MongoClient(_runner.ConnectionString); }