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

            if (eventNotify != null)
            {
                ThreadPool.QueueUserWorkItem(eventNotify.SendNotification);
            }
        }
예제 #3
0
 public SpNotifySink(EventNotify eventNotify)
 {
     _eventNotifyReference = new WeakReference(eventNotify);
 }