Ejemplo n.º 1
0
 internal void DisposeEventNotify(EventNotify eventNotify)
 {
     _proxy.Invoke2(delegate
     {
         eventNotify.Dispose();
     });
 }
Ejemplo n.º 2
0
        void ISpNotifySink.Notify()
        {
            EventNotify eventNotify = (EventNotify)_eventNotifyReference.Target;

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