Exemple #1
0
 public UserContextService(
     CofoundryDbContext dbContext,
     IUserSessionService userSessionService,
     UserContextMapper userContextMapper
     )
 {
     _dbContext          = dbContext;
     _userSessionService = userSessionService;
     _userContextMapper  = userContextMapper;
 }
 public UserContextService(
     CofoundryDbContext dbContext,
     IUserSessionService userSessionService,
     UserContextMapper userContextMapper,
     IClientConnectionService browsingSessionService
     )
 {
     _dbContext          = dbContext;
     _userSessionService = userSessionService;
     _userContextMapper  = userContextMapper;
 }
Exemple #3
0
 public SetupCofoundryCommandHandler(
     ICommandExecutor commandExecutor,
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     ITransactionScopeManager transactionScopeFactory,
     UserContextMapper userContextMapper,
     IObjectCacheFactory objectCacheFactory
     )
 {
     _commandExecutor         = commandExecutor;
     _queryExecutor           = queryExecutor;
     _dbContext               = dbContext;
     _transactionScopeFactory = transactionScopeFactory;
     _userContextMapper       = userContextMapper;
     _objectCacheFactory      = objectCacheFactory;
 }