Exemplo n.º 1
0
 public CreateGroupRoleCommandHandler(IUnitOfWork unitOfWork, IGroupRoleRepository groupRoleRepository, IGroupRepository groupRepository, ICurrentUserIdService currentUserIdService)
 {
     _unitOfWork           = unitOfWork;
     _groupRoleRepository  = groupRoleRepository;
     _groupRepository      = groupRepository;
     _currentUserIdService = currentUserIdService;
 }
Exemplo n.º 2
0
 public AuthorizationBehaviour(
     ICurrentUserIdService currentUserIdService,
     IIdentityService identityService)
 {
     _currentUserIdService = currentUserIdService;
     _identityService      = identityService;
 }
Exemplo n.º 3
0
        public PerformanceBehaviour(
            ILogger <TRequest> logger,
            ICurrentUserIdService currentUserIdService,
            IIdentityService identityService)
        {
            _timer = new Stopwatch();

            _logger = logger;
            _currentUserIdService = currentUserIdService;
            _identityService      = identityService;
        }
Exemplo n.º 4
0
 public ApplicationDbContext(
     DbContextOptions options,
     IOptions <OperationalStoreOptions> operationalStoreOptions,
     IDomainEventService domainEventService,
     IDateTime dateTime,
     ICurrentUserIdService currentUserIdService) : base(options, operationalStoreOptions)
 {
     _domainEventService   = domainEventService;
     _dateTime             = dateTime;
     _currentUserIdService = currentUserIdService;
 }
Exemplo n.º 5
0
 public CurrentUserService(IUserRepository userRepository, ICurrentUserIdService currentUserIdService)
 {
     _userRepository       = userRepository;
     _currentUserIdService = currentUserIdService;
 }
Exemplo n.º 6
0
 public HomeController(ICurrentUserIdService currentUserIdService)
 {
     _currentUserIdService = currentUserIdService;
 }
Exemplo n.º 7
0
 public LoggingBehaviour(ILogger <TRequest> logger, ICurrentUserIdService currentUserIdService, IIdentityService identityService)
 {
     _logger = logger;
     _currentUserIdService = currentUserIdService;
     _identityService      = identityService;
 }