Exemplo n.º 1
0
 public static WeakMulticastDelegate Remove(WeakMulticastDelegate weakDelegate, Delegate realDelegate)
 {
     if (realDelegate == null || weakDelegate == null)
     {
         return(null);
     }
     return(weakDelegate.Remove(realDelegate));
 }
Exemplo n.º 2
0
 public static WeakMulticastDelegate Remove(WeakMulticastDelegate weakDelegate, Delegate realDelegate)
 {
     if (realDelegate == null || weakDelegate == null) return null;
     return weakDelegate.Remove(realDelegate);
 }
Exemplo n.º 3
0
 public static WeakMulticastDelegate operator -(WeakMulticastDelegate d, Delegate realD)
 {
     return(WeakMulticastDelegate.Remove(d, realD));
 }