EventDispatcher

Ecng.Interop.Dde.XlsDdeServer

Private helper class that dispatches events on dedicated tasks.

Herda de: Disposable

Construtores

EventDispatcher
public EventDispatcher(Action<Exception> errorHandler)
eventDispatcher = EventDispatcher(errorHandler)

Private helper class that dispatches events on dedicated tasks.

Métodos

Add
public void Add(Action evt)
eventDispatcher.Add(evt)

Adds an event to be executed.

evt
The event action to add.
Add
public virtual void Add(Action evt, string syncToken)
eventDispatcher.Add(evt, syncToken)

Adds an event to be executed with a synchronization token.

evt
The event action to add.
syncToken
The synchronization token to group events.
DisposeManaged
protected override void DisposeManaged()
eventDispatcher.DisposeManaged()

Disposes the managed resources by completing all event channels.