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