protected CommandHandler(ArchDbContext architectureContext, IDomainNotification notifications, IEventRepository eventRepository, EventSourcingContext eventSourcingContext) { _architectureContext = architectureContext; _notifications = notifications; _eventRepository = eventRepository; _eventSourcingContext = eventSourcingContext; }
public CustomerCommandHandler( ArchDbContext architectureContext, IDomainNotification notifications, IEventRepository eventRepository, EventSourcingContext eventSourcingContext) : base(architectureContext, notifications, eventRepository, eventSourcingContext) { _architectureContext = architectureContext; }
public ListCommandHandler( ArchDbContext architectureContext, EventSourcingContext eventSourcingContext, IDomainNotification notifications) { _architectureContext = architectureContext; _eventSourcingContext = eventSourcingContext; _notifications = notifications; }
public ProductQueryHandler(ArchDbContext architectureContext) { _architectureContext = architectureContext; }
public CartCommandHandler(ArchDbContext context) { _context = context; }
public ArchManager(ArchDbContext <TArch> archDbContext) { this.archDbContext = archDbContext; }
public CsvQueryHandler(ArchDbContext architectureContext) { _architectureContext = architectureContext; }
public CustomerQueryHandler(ArchDbContext architectureContext, EventSourcingContext eventSourcingContext) { _architectureContext = architectureContext; _eventSourcingContext = eventSourcingContext; }
public TasksService(HttpClient httpClient, ArchDbContext <MyArch> archDbContext) { this.httpClient = httpClient; this.archDbContext = archDbContext; }
public OderItemQueryHandler(ArchDbContext architectureContext) { _architectureContext = architectureContext; }
public OrderItemCommandHandler(ArchDbContext architectureContext) { _architectureContext = architectureContext; }
public IEnumerable <T> GetAll(string order) { var context = new ArchDbContext(); return(context.Set <T>().ToList().OrderBy(_ => _.GetType().GetProperty(order).GetValue(_, null))); }
public UserHandler(ArchDbContext archDbContext) { _archDbContext = archDbContext; }