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;
        }
Example #3
0
 public HostedService(IDbScopeFactory dbScopeFactory)
 {
     _dbScopeFactory = dbScopeFactory;
 }
Example #4
0
 public ValuesController(IDbScopeFactory dbScopeFactory, ServiceA serviceA)
 {
     _dbScopeFactory = dbScopeFactory;
     _serviceA       = serviceA;
 }
Example #5
0
 public ServiceA(IDbScopeFactory dbScopeFactory)
 {
     _dbScopeFactory = dbScopeFactory;
 }
Example #6
0
 public DefaultController(IDbScopeFactory dbScopeFactory, ServiceA serviceA)
 {
     _dbScopeFactory = dbScopeFactory;
     _serviceA       = serviceA;
 }