Exemple #1
0
 public MongoRepositoryFactoryTests()
 {
     _connectionString     = new ConnectionStringFactory();
     _mongoRepository      = new MongoRepositoryFactory(_connectionString);
     _logRepository        = new LogsRepository(_mongoRepository);
     _playerRepository     = new PlayerRepository(_mongoRepository);
     _baseRepository       = new BaseRepository(_mongoRepository);
     _usefulLinkRepository = new UsefulLinkRepository(_mongoRepository);
     _userRepository       = new UserRepository(_mongoRepository);
     _registrationService  = new UserRegistrationService(_userRepository);
 }
 public ErrorLogRepository(IMongoRepositoryFactory mongoRepository) : base(mongoRepository)
 {
 }
 public LogsRepository(IMongoRepositoryFactory mongoRepository) : base(mongoRepository)
 {
     _mongoRepository = mongoRepository;
 }
 public DemoFileRepository(IMongoRepositoryFactory mongoRepository) : base(mongoRepository)
 {
     _mongoRepository = mongoRepository;
 }
 public TestMongoRepositoryFactory(IMongoRepositoryFactory repositoryFactory,
                                   FaultHandler faultHandler)
 {
     this.repositoryFactory = repositoryFactory;
     this.faultHandler      = faultHandler;
 }
 public PlayerRepository(IMongoRepositoryFactory mongoRepository) : base(mongoRepository)
 {
     _mongoRepository = mongoRepository;
     _logsRepository  = new LogsRepository(_mongoRepository);
 }
 public BaseRepository(IMongoRepositoryFactory mongoRepository)
 {
     _mongoRepository = mongoRepository;
 }
Exemple #8
0
 public LogFileRepository(IMongoRepositoryFactory mongoRepository)
 {
     _mongoRepository = mongoRepository;
 }
 public UserRepository(IMongoRepositoryFactory mongoRepository) : base(mongoRepository)
 {
     _mongoRepository = mongoRepository;
 }
Exemple #10
0
 public Logger(IMongoRepositoryFactory mongoRepository)
 {
     _mongoRepository    = mongoRepository;
     _errorLogRepository = new ErrorLogRepository(_mongoRepository);
 }
Exemple #11
0
 public ServerToolsRepository(IMongoRepositoryFactory mongoRepository) : base(mongoRepository)
 {
 }
 public PlayerRepository(IMongoRepositoryFactory mongoRepository, IStrapiApi strapiApi) : base(mongoRepository)
 {
     _mongoRepository = mongoRepository;
     _logsRepository  = new LogsRepository(_mongoRepository);
     _strapiApi       = strapiApi;
 }