Example #1
0
 public NextGeneration(IGame game, IGenerateChecker generateChecker, IReproduce reproduce, ISqLiteConnection sqLiteConnection)
 {
     _game             = game;
     _generateChecker  = generateChecker;
     _reproduce        = reproduce;
     _sqLiteConnection = sqLiteConnection;
 }
        public UserRepository(ISqLiteConnection sqLiteConnection)
        {
            _databaseAsyncConnection = sqLiteConnection.GetDatabaseAsyncConnection();
            _databaseConnection      = sqLiteConnection.GetDatabaseConnection();

            var a = _databaseConnection.GetTableInfo("UserModel");
        }
Example #3
0
 public StoreData(ISqLiteConnection sqLiteConnection)
 {
     _sqLiteConnection = sqLiteConnection;
 }
 public UpgradeFromOldDatabase(ISqLiteConnection sqLiteConnection)
 {
     _sqLiteConnection = sqLiteConnection;
 }
Example #5
0
 public BeforeGameStartRun(ISqLiteConnection sqlLiteConnection, IReportGenerate reportGenerate)
 {
     _sqlLiteConnection    = sqlLiteConnection;
     _reportGenerate       = reportGenerate;
     _pacmanLastGeneration = _sqlLiteConnection.GetLastGeneration();
 }
Example #6
0
 public ReportGenerate(ISqLiteConnection sqLiteConnection)
 {
     _sqLiteConnection = sqLiteConnection;
 }