SubscribeEvents

ISubscription IEventSource.SubscribeEvents(System.Collections.IEnumerable<IEvent> events, EventOccurredHandler handler)

Subscribes a callback to be executed when any of the selected events occur.

Parameters
  • events – Events of this event source that should trigger the callback.

  • handler – Delegate to be invoked when any of the selected events occur.

Returns

ISubscription – An ISubscription for the callback.

Throws