protected CommandHandler(IAppDbContext context, IRavenStore store, ICurrentUserService currentUserService, IMapper mapper) { DbContext = context ?? throw new ArgumentNullException(nameof(context)); Store = store ?? throw new ArgumentNullException(nameof(store)); CurrentUserService = currentUserService ?? throw new ArgumentNullException(nameof(currentUserService)); Mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public CreateOrganizationCommandCommandHandler( IAppDbContext context, IRavenStore store, ICurrentUserService currentUserService, IMapper mapper) : base(context, store, currentUserService, mapper) { }
public ShoppingQueryService(IRavenStore ravenStore, INotificationService notificationService) { this.ravenStore = ravenStore; this.notificationService = notificationService; this.notificationService.MarkAsStaleRequested += () => { isStaleData = true; }; }
public SaveMessageCommandCommandHandler(IAppDbContext context, IRavenStore store, ICurrentUserService currentUserService, IMapper mapper) : base(context, store, currentUserService, mapper) { }
public TestDataService(IRavenStore ravenStore) { this.ravenStore = ravenStore; }
public ShoppingCommandService(IRavenStore ravenStore, INotificationService notificationService) { this.ravenStore = ravenStore; this.notificationService = notificationService; }
public GetVersionQueryCommandHandler(IAppDbContext context, IRavenStore store, ICurrentUserService currentUserService, IMapper mapper) : base(context, store, currentUserService, mapper) { }
public GetOrganizationsPagesQueryCommandHandler(IAppDbContext context, IRavenStore store, ICurrentUserService currentUserService, IMapper mapper) : base(context, store, currentUserService, mapper) { }