Example #1
0
 /// <summary>
 /// Creates a new instance of the Handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 /// <param name="mapper">An implementation of <see cref="IMapper"></see></param>
 /// <param name="dateTime">An implementation of <see cref="IDateTime"/></param>
 /// <param name="currentUserService">An implementation of <see cref="ICurrentUserService"/></param>
 public GetUpcomingEventsQueryHandler(IEventsCoreDbContext context, IMapper mapper, IDateTime dateTime, ICurrentUserService currentUserService)
 {
     _context            = context;
     _mapper             = mapper;
     _dateTime           = dateTime;
     _currentUserService = currentUserService;
 }
Example #2
0
 /// <summary>
 /// Creates a new instance of the handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 /// <param name="dateTime">An implementation of <see cref="IDateTime"></see></param>
 public RejectRegistrationCommandHandler(IEventsCoreDbContext context, IDateTime dateTime)
 {
     _context  = context;
     _dateTime = dateTime;
 }
Example #3
0
 /// <summary>
 /// Creates a new instance of the Handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 /// <param name="mapper">An implementation of <see cref="IMapper"></see></param>
 public GetEventSeriesesListQueryHandler(IEventsCoreDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 /// <summary>
 /// Creates a new instance of the handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 /// <param name="dateTime">An implementation of <see cref="IDateTime"></see></param>
 public UpdateEventCommandHandler(IEventsCoreDbContext context, IDateTime dateTime)
 {
     _context  = context;
     _dateTime = dateTime;
 }
Example #5
0
 /// <summary>
 /// Creates a new instance of the Handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 public UpsertRankCommandHandler(IEventsCoreDbContext context)
 {
     _context = context;
 }
 /// <summary>
 /// Creates a new instance of the Handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 public DeleteEventCommandHandler(IEventsCoreDbContext context)
 {
     _context = context;
 }
 /// <summary>
 /// Creates a new instance of the Handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 public UpsertEventTypeCommandHandler(IEventsCoreDbContext context)
 {
     _context = context;
 }
Example #8
0
 /// <summary>
 /// Creates a new instance of the handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"/></param>
 /// <param name="currentUserService">An implementation of <see cref="ICurrentUserService"/></param>
 public GetCanEditEventQueryHandler(IEventsCoreDbContext context, ICurrentUserService currentUserService)
 {
     _context            = context;
     _currentUserService = currentUserService;
 }
 /// <summary>
 /// Creates a new instance of the handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 public UpsertEventSeriesesCommandHandler(IEventsCoreDbContext context)
 {
     _context = context;
 }
Example #10
0
 /// <summary>
 /// Creates a new instance of the Handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 /// <param name="mapper">An implementation of <see cref="IMapper"></see></param>
 public GetEventDetailQueryHandler(IEventsCoreDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Example #11
0
 public ClaimsLoader(IEventsCoreDbContext context)
 {
     _context = context;
 }
 /// <summary>
 /// Creates a new instance of the handler
 /// </summary>
 /// <param name="context">An implementation of <see cref="IEventsCoreDbContext"></see></param>
 public DeleteRegistrationCommandHandler(IEventsCoreDbContext context)
 {
     _context = context;
 }