Beispiel #1
0
 public BaseRepository(IConnectionStringProvider connectionProvider, IWhetherLogger logger)
 {
     _connectionProvider = connectionProvider;
     _logger             = logger;
 }
 public FileSystemRepository(IConnectionStringProvider connectionProvider, IWhetherLogger logger) : base(connectionProvider, logger)
 {
 }
 public MeteoByConnector(IWhetherLogger logger)
 {
     _logger = logger;
 }
Beispiel #4
0
 public Manager(IRepository repository, IWhetherLogger logger)
 {
     _logger     = logger;
     _repository = repository;
 }
 public static IConnector GetConnectorByCity(IWhetherLogger logger)
 {
     return(new MeteoByConnector(logger));
 }
Beispiel #6
0
 public WhetherStatsController(IRepository repository, IWhetherLogger logger)
 {
     _repository = repository;
     _logger     = logger;
 }
Beispiel #7
0
 public MongoDBRepository(IConnectionStringProvider connectionProvider, IWhetherLogger logger) : base(connectionProvider, logger)
 {
 }