Ejemplo n.º 1
0
 public static WeakMulticastDelegate Combine(WeakMulticastDelegate weakDelegate, Delegate realDelegate)
 {
     if (realDelegate == null)
     {
         return(null);
     }
     if (weakDelegate == null)
     {
         return(new WeakMulticastDelegate(realDelegate));
     }
     return(weakDelegate.Combine(realDelegate));
 }
Ejemplo n.º 2
0
 public static WeakMulticastDelegate Combine(WeakMulticastDelegate weakDelegate, Delegate realDelegate)
 {
     if (realDelegate == null) return null;
     if (weakDelegate == null) return new WeakMulticastDelegate(realDelegate);
     return weakDelegate.Combine(realDelegate);
 }
Ejemplo n.º 3
0
 public static WeakMulticastDelegate operator +(WeakMulticastDelegate d, Delegate realD)
 {
     return(WeakMulticastDelegate.Combine(d, realD));
 }