public Notify ( |
||
notification | ||
return | void |
public void Notify(BeginInvokeNotification notification)
{
if (notification == null)
{
throw new ArgumentNullException("notification");
}
AsyncDelegate delegate2 = null;
lock (this.SyncRoot)
{
if (this._pendingDelegates.TryGetValue(notification.Id, out delegate2))
{
this._pendingDelegates.Remove(notification.Id);
}
else
{
delegate2 = null;
}
}
if (delegate2 != null)
{
delegate2.Execute(false);
}
}