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; }
public HostedService(IDbScopeFactory dbScopeFactory) { _dbScopeFactory = dbScopeFactory; }
public ValuesController(IDbScopeFactory dbScopeFactory, ServiceA serviceA) { _dbScopeFactory = dbScopeFactory; _serviceA = serviceA; }
public ServiceA(IDbScopeFactory dbScopeFactory) { _dbScopeFactory = dbScopeFactory; }
public DefaultController(IDbScopeFactory dbScopeFactory, ServiceA serviceA) { _dbScopeFactory = dbScopeFactory; _serviceA = serviceA; }