Example #1
0
 public ActivateBusinessUnitCommandHandler(IGearContext context, IUserAccessor userAccessor)
 {
     _context      = context;
     _userAccessor = userAccessor;
 }
Example #2
0
 public AuditDbContext(DbContextOptions options, IUserAccessor userAccessor)
     : base(options)
 {
     UserAccessor = userAccessor;
 }
Example #3
0
 public Handler(DataContext context, IMapper mapper, IUserAccessor userAccessor)
 {
     _userAccessor = userAccessor;
     _mapper       = mapper;
     _context      = context;
 }
Example #4
0
 public Handler(DataContext context, UserManager <AppUser> userManager, IUserAccessor useAccessor)
 {
     _useAccessor = useAccessor;
     _userManager = userManager;
     _context     = context;
 }
Example #5
0
 public Handler(DataContext context, IPhotoAccessor photoAccesor, IUserAccessor userAccessor)
 {
     _userAccessor = userAccessor;
     _photoAccesor = photoAccesor;
     _context      = context;
 }
Example #6
0
 //private readonly IMapper _mapper;
 public Handler(DataContext context, IUserAccessor userAccessor)
 {
     //_mapper = mapper;
     _context      = context;
     _userAccessor = userAccessor;
 }
Example #7
0
 public ProfileReader(DataContext context, IUserAccessor userAccessor)
 {
     _userAccessor = userAccessor;
     _context      = context;
 }
Example #8
0
 public GetPathByUserHandler(IBreadingBreadDbContext db, IUserAccessor userAccessor)
 {
     this.db          = db;
     this.currentUser = userAccessor;
 }
Example #9
0
 public UpdateOrderCommandHandle(IMapper mapper, IGenericRepository <Domain.Entities.Order> orderRepository, IUserAccessor userAccessor)
 {
     _mapper          = mapper;
     _orderRepository = orderRepository;
     _userAccessor    = userAccessor;
 }
Example #10
0
 public Handler(IDeletableEntityRepository <Notification> notificationRepository, IUserAccessor userAccessor)
 {
     this.notificationRepository = notificationRepository;
     this.userAccessor           = userAccessor;
 }
Example #11
0
 public IsSubscribedResolver(DataContext context, IUserAccessor userAccessor)
 {
     _context      = context;
     _userAccessor = userAccessor;
 }
Example #12
0
 public Handler(DataContext context, IUserAccessor userAccessor, UserManager <ApplicationUser> userManager)
 {
     _context      = context;
     _userAccessor = userAccessor;
     _userManager  = userManager;
 }
Example #13
0
 public Handler(DataContext context, UserManager <User> userManager, IHttpContextAccessor httpContextAccessor, IJwtGenerator jwtGenerator, IUserAccessor userAccessor)
 {
     _context             = context;
     _userManager         = userManager;
     _userAccessor        = userAccessor;
     _jwtGenerator        = jwtGenerator;
     _httpContextAccessor = httpContextAccessor;
 }
Example #14
0
 public FollowingResolver(DataContext context, IUserAccessor userAccessor)
 {
     _context      = context;
     _userAccessor = userAccessor;
 }
Example #15
0
 public void Setup()
 {
     _userAccessor = Substitute.For <IUserAccessor>();
     _handler      = new UserProfile.Handler(_userAccessor);
 }
Example #16
0
 public Handler(DataContext dataContext, IUserAccessor userAccessor)
 {
     _userAccessor = userAccessor;
     _context      = dataContext;
 }
Example #17
0
 public RenameActivityCommandHandler(IGearContext context, IUserAccessor userAccessor)
 {
     _context      = context;
     _userAccessor = userAccessor;
 }
Example #18
0
 public UpdateTrackerTypeCommandHandler(IGearContext context, IMediator mediator, IUserAccessor userAccessor)
 {
     _context      = context;
     _mediator     = mediator;
     _userAccessor = userAccessor;
 }
Example #19
0
 public Handler(UserManager <AppUser> userManager, IJwtGenerator jwtGenerator, IUserAccessor userAccessor)
 {
     _userManager  = userManager;
     _jwtGenerator = jwtGenerator;
     _userAccessor = userAccessor;
 }
 public Handler(AppDbContext context, IUserAccessor userAccessor, IMapper mapper)
 {
     _context      = context;
     _userAccessor = userAccessor;
     _mapper       = mapper;
 }
Example #21
0
 public Handler(UserManager <AppUser> usermanager, IJWTGenerator jWTGenerator, IUserAccessor userAccessor)
 {
     this.usermanager  = usermanager;
     this.jWTGenerator = jWTGenerator;
     this.userAccessor = userAccessor;
 }
Example #22
0
 public FollowingResolver(AppDbContext context, IUserAccessor userAccessor)
 {
     _userAccessor = userAccessor;
     _context      = context;
 }
Example #23
0
 public Handler(DataContext context, IUserAccessor userAccessor)
 {
     this._userAccessor = userAccessor;
     this._context      = context;
 }
Example #24
0
 public Handler(DataContext context, IUserAccessor userAccessor, IPhotoAccessor photoAccessor)
 {
     this.photoAccessor = photoAccessor;
     this.userAccessor  = userAccessor;
     this.context       = context;
 }
Example #25
0
 public Handler(DataContext context, IUserAccessor userAccessor)
 {
     _context      = context;
     _userAccessor = userAccessor;
 }
Example #26
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="mediator"></param>
 /// <param name="context"></param>
 /// <param name="userAccessor"></param>
 public CreateProjectCommandHandler(IMediator mediator, IGearContext context, IUserAccessor userAccessor)
 {
     _mediator     = mediator;
     _context      = context;
     _userAccessor = userAccessor;
 }
 public ActivityChatHub(IMediator mediator, IUserAccessor userAccessor)
 {
     _mediator     = mediator;
     _userAccessor = userAccessor;
 }
Example #28
0
 public UserManager()
 {
     _userAccessor = new UserAccessor();
 }
Example #29
0
 public SetMainPhotoCommandHandler(ReactivitiesDbContext context, IUserAccessor userAccessor)
 {
     _context      = context;
     _userAccessor = userAccessor;
 }
Example #30
0
 public Handler(DataContext dataContext, IUserAccessor userAccessor, UserManager <AppUser> userManager)
 {
     this._userManager  = userManager;
     this._userAccessor = userAccessor;
     this._dataContext  = dataContext;
 }