internal void DisposeEventNotify(EventNotify eventNotify)
 {
     _proxy.Invoke2(delegate
     {
         eventNotify.Dispose();
     });
 }
Example #2
0
        void ISpNotifySink.Notify()
        {
            EventNotify eventNotify = (EventNotify)_eventNotifyReference.Target;

            if (eventNotify != null)
            {
                ThreadPool.QueueUserWorkItem(new WaitCallback(eventNotify.SendNotification));
            }
        }
Example #3
0
 public SpNotifySink(EventNotify eventNotify)
 {
     _eventNotifyReference = new WeakReference(eventNotify);
 }
Example #4
0
 internal void DisposeEventNotify(EventNotify eventNotify)
 {
     _proxy.Invoke2(eventNotify.Dispose);
 }