1using System.Threading.Tasks;
11 private readonly
int nrSinks;
22 this.nrSinks = this.sinks?.Length ?? 0;
31 Task[] Tasks =
new Task[this.nrSinks];
34 for (i = 0; i < this.nrSinks; i++)
37 return Task.WhenAll(Tasks);
Class representing an event.
Base class for event sinks.
Sends logged events to a collection of event sinks.
override Task Queue(Event Event)
Queues an event to be output.
EventSinks(string ObjectID, params IEventSink[] Sinks)
Sends logged events to a collection of event sinks.
virtual string ObjectID
Object ID, used when logging events.
Interface for all event sinks.