void Enqueue(CommandOutput output) { outputs.Enqueue(output); NewOutputReceived.Raise(this, new EventArgs( )); }
void collector_NewOutputReceived(object sender, EventArgs e) { NewOutputReceived.Raise(this, new EventArgs <OutputCollector>(sender as OutputCollector)); }