private void OnEventProcessed(ElementProcessedEventArgs e) { var handler = EventProcessed; if (handler != null) { handler(this, e); } }
private void OnEventProcessed(object sender, ElementProcessedEventArgs e) { _preDemultiplexingQueue.Add(() => _demultiplexer.MarkAsProcessed(e.ProcessedElement)); _postProcessingQueue.Add(e.ProcessedElement); }