Exemplo n.º 1
0
 private MySqlStorage CreateStorage()
 {
     return(new MySqlStorage(
                ConnectionUtils.GetConnectionString(),
                _options));
 }
Exemplo n.º 2
0
 private MySqlConnection CreateConnection()
 {
     return(ConnectionUtils.CreateConnection());
 }
 public CountersAggregatorTests()
 {
     _connection = ConnectionUtils.CreateConnection();
     _storage    = new MySqlStorage(_connection);
     _sut        = new CountersAggregator(_storage, TimeSpan.Zero);
 }
Exemplo n.º 4
0
 private ElasticStorage.ElasticStorage CreateStorage()
 {
     return(new ElasticStorage.ElasticStorage(
                ConnectionUtils.GetConnectionString(),
                _options));
 }