Пример #1
0
        public async Task Process(CaseReportIdentified @event)
        {
            await _caseReportsFromUnknownDataCollectors.Remove(@event.CaseReportId);

            //Todo: Not for MVP: Handle the case that an datacollecter has been identified. As I understood it, if that's the case then move every
            // CaseReport that the DataCollector has reported and transfer them from
        }
Пример #2
0
 public void Process(CaseReportIdentified @event)
 {
     _caseReports.Remove(@event.CaseReportId);
 }
 public void Process(CaseReportIdentified @event)
 {
     _invalidCaseReportsFromUnknownDataCollectors.Remove(@event.CaseReportId);
 }
Пример #4
0
 public void Process(CaseReportIdentified @event)
 {
     _caseReportsFromUnknownDataCollectors.Delete(e => e.Id == (CaseReportId)@event.CaseReportId);
 }
        public void Process(CaseReportIdentified @event)
        {
            var caseReport = _invalidCaseReportsFromUnknownDataCollectors.GetById(@event.CaseReportId);

            _invalidCaseReportsFromUnknownDataCollectors.Delete(caseReport);
        }
 public void Process(CaseReportIdentified @event)
 {
     _caseReports.Delete(e => e.Id == @event.CaseReportId);
 }
Пример #7
0
        public void Process(CaseReportIdentified @event, EventSourceId caseReportId)
        {
            var caseReport = _caseReportsFromUnknownDataCollectors.GetById(caseReportId.Value);

            _caseReportsFromUnknownDataCollectors.Delete(caseReport);
        }
Пример #8
0
        public void Process(CaseReportIdentified @event, EventSourceId caseReportId)
        {
            var caseReport = _caseReports.GetById(caseReportId.Value);

            _caseReports.Delete(caseReport);
        }
 public void Process(CaseReportIdentified @event)
 {
     _invalidCaseReportsFromUnknownDataCollectors.Delete(r => r.Id == (CaseReportId)@event.CaseReportId);
 }
Пример #10
0
 public async Task Process(CaseReportIdentified @event)
 {
     //TODO: Is this correct?
     await _caseReports.Remove(@event.CaseReportId);
 }
        public void Process(CaseReportIdentified @event)
        {
            var caseReport = _caseReports.GetById(@event.CaseReportId);

            _caseReports.Delete(caseReport);
        }
Пример #12
0
 public async Task Process(CaseReportIdentified @event)
 {
     await _caseReports.Remove(@event.CaseReportId);
 }
Пример #13
0
 public async Task Process(CaseReportIdentified @event)
 {
     await _invalidCaseReportsFromUnknownDataCollectors.Remove(@event.CaseReportId);
 }