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