Ejemplo n.º 1
0
 public static WeakAction <object, PropertyChangingEventArgs> GetInstance(PropertyChangingEventHandler handler)
 {
     return(WeakAction <object, PropertyChangingEventArgs> .GetInstance(new Action <object, PropertyChangingEventArgs>(handler)));
 }
Ejemplo n.º 2
0
 public static WeakAction <object, EventArgs> GetInstance(EventHandler handler)
 {
     return(WeakAction <object, EventArgs> .GetInstance(new Action <object, EventArgs>(handler)));
 }
Ejemplo n.º 3
0
 public static WeakAction <object, NotifyCollectionChangedEventArgs> GetInstance(NotifyCollectionChangedEventHandler handler)
 {
     return(WeakAction <object, NotifyCollectionChangedEventArgs> .GetInstance(new Action <object, NotifyCollectionChangedEventArgs>(handler)));
 }
Ejemplo n.º 4
0
 public static WeakAction <object, T> GetInstance <T>(EventHandler <T> handler)
     where T : EventArgs
 {
     return(WeakAction <object, T> .GetInstance(new Action <object, T>(handler)));
 }