public EngineRepositoryContext(IDatabaseManagerPool databaseManagerPool, StringSerializer stringSerializer, IPlatformLogger logger, string apiKey)
 {
     DatabaseManagerPool = databaseManagerPool;
     ApiKey     = apiKey;
     Schematics = new SchematicRepository(this, stringSerializer);
     Machines   = new MachineRepository(this, stringSerializer, logger);
 }
Пример #2
0
 public AuthRepository(IDatabaseManagerPool databaseManagerPool)
 {
     DatabaseManagerPool = databaseManagerPool;
 }
Пример #3
0
        public ChronoRepository(IDatabaseManagerPool databaseManagerPool, string apiKey)
        {
            _databaseManagerPool = databaseManagerPool;

            ApiKey = apiKey;
        }