Ejemplo n.º 1
0
 public UserContextService(
     CofoundryDbContext dbContext,
     IUserSessionService userSessionService,
     UserContextMapper userContextMapper
     )
 {
     _dbContext          = dbContext;
     _userSessionService = userSessionService;
     _userContextMapper  = userContextMapper;
 }
Ejemplo n.º 2
0
 public UserContextService(
     CofoundryDbContext dbContext,
     IUserSessionService userSessionService,
     UserContextMapper userContextMapper,
     IUserContextCache userContextCache,
     IUserAreaDefinitionRepository userAreaDefinitionRepository
     )
 {
     _dbContext                    = dbContext;
     _userSessionService           = userSessionService;
     _userContextMapper            = userContextMapper;
     _userContextCache             = userContextCache;
     _userAreaDefinitionRepository = userAreaDefinitionRepository;
 }
 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;
 }