public UserCreditScoreService(IDbScopeFactory dbScopeFactory)
        {
            if (dbScopeFactory == null)
                throw new ArgumentNullException("dbScopeFactory");

            _dbScopeFactory = dbScopeFactory;
        }
        public UserQueryService(IDbScopeFactory dbScopeFactory, IUserRepository userRepository)
        {
            if (dbScopeFactory == null)
                throw new ArgumentNullException("dbScopeFactory");

            if (userRepository == null)
                throw new ArgumentNullException("userRepository");

            _dbScopeFactory = dbScopeFactory;
            _userRepository = userRepository;
        }
Beispiel #3
0
 public HostedService(IDbScopeFactory dbScopeFactory)
 {
     _dbScopeFactory = dbScopeFactory;
 }
Beispiel #4
0
 public ValuesController(IDbScopeFactory dbScopeFactory, ServiceA serviceA)
 {
     _dbScopeFactory = dbScopeFactory;
     _serviceA       = serviceA;
 }
Beispiel #5
0
 public ServiceA(IDbScopeFactory dbScopeFactory)
 {
     _dbScopeFactory = dbScopeFactory;
 }
Beispiel #6
0
 public DefaultController(IDbScopeFactory dbScopeFactory, ServiceA serviceA)
 {
     _dbScopeFactory = dbScopeFactory;
     _serviceA       = serviceA;
 }