//TODO: Is this something that makes sense, should we be able to remove a datacollector from VR? public void Process(DataCollectorRemoved @event) { var deleteRes = _dataCollectors.Delete(d => d.Id == @event.DataCollectorId); }
public async Task Process(DataCollectorRemoved @event) { await _dataCollectors.RemoveAsync(@event.DataCollectorId); }
public void Process(DataCollectorRemoved @event) { _dataCollectors.Delete(d => d.Id == (DataCollectorId)@event.DataCollectorId); }
public void Process(DataCollectorRemoved @event) { var dataCollector = _dataCollectors.GetById(@event.DataCollectorId); _dataCollectors.Delete(dataCollector); }
public void Process(DataCollectorRemoved @event, EventSourceId dataCollectorId) { var dataCollector = _dataCollectors.GetById(dataCollectorId.Value); _dataCollectors.Delete(dataCollector); }