Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public CreateOrganizationCommandCommandHandler(
     IAppDbContext context,
     IRavenStore store,
     ICurrentUserService currentUserService,
     IMapper mapper)
     : base(context, store, currentUserService, mapper)
 {
 }
Exemplo n.º 3
0
        public ShoppingQueryService(IRavenStore ravenStore, INotificationService notificationService)
        {
            this.ravenStore          = ravenStore;
            this.notificationService = notificationService;

            this.notificationService.MarkAsStaleRequested += () =>
            {
                isStaleData = true;
            };
        }
Exemplo n.º 4
0
 public SaveMessageCommandCommandHandler(IAppDbContext context, IRavenStore store, ICurrentUserService currentUserService, IMapper mapper)
     : base(context, store, currentUserService, mapper)
 {
 }
Exemplo n.º 5
0
 public TestDataService(IRavenStore ravenStore)
 {
     this.ravenStore = ravenStore;
 }
Exemplo n.º 6
0
 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)
 {
 }
Exemplo n.º 8
0
 public GetOrganizationsPagesQueryCommandHandler(IAppDbContext context, IRavenStore store, ICurrentUserService currentUserService, IMapper mapper)
     : base(context, store, currentUserService, mapper)
 {
 }