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(eventNotify.SendNotification);
            }
        }
Example #3
0
 public SpNotifySink(EventNotify eventNotify)
 {
     _eventNotifyReference = new WeakReference(eventNotify);
 }