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

            _logger = logger;
            _currentUserIdService = currentUserIdService;
            _identityService      = identityService;
        }
Esempio 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;
 }
Esempio n. 5
0
 public CurrentUserService(IUserRepository userRepository, ICurrentUserIdService currentUserIdService)
 {
     _userRepository       = userRepository;
     _currentUserIdService = currentUserIdService;
 }
Esempio n. 6
0
 public HomeController(ICurrentUserIdService currentUserIdService)
 {
     _currentUserIdService = currentUserIdService;
 }
Esempio n. 7
0
 public LoggingBehaviour(ILogger <TRequest> logger, ICurrentUserIdService currentUserIdService, IIdentityService identityService)
 {
     _logger = logger;
     _currentUserIdService = currentUserIdService;
     _identityService      = identityService;
 }