Esempio n. 1
0
 public AccountProxy(IMongoConnector connector, IConfiguration config) : base(connector, config)
 {
 }
 public FeatureSetRepository(ICache cache, ILogger<FeatureSetRepository> logger, IMongoConnector mongoConnector)
 {
     _cache = cache;
     _logger = logger;
     _mongoConnector = mongoConnector;
 }
        public AbstractMongoCollectionProxy(IMongoConnector connector, IConfiguration config)
        {
            var database = connector.GetDatabase();

            Collection = database.GetCollection <T>(this.GetCollectionName());
        }
 public TrackProgressProxy(IMongoConnector connector, IConfiguration config) : base(connector, config)
 {
 }
 public TodoItemsService(IMongoConnector connector) => _todoItems = connector.GetTodoItemsCollection();
 public FeatureSetRepository(ICache cache, ILogger <FeatureSetRepository> logger, IMongoConnector mongoConnector)
 {
     _cache          = cache;
     _logger         = logger;
     _mongoConnector = mongoConnector;
 }