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