Esempio n. 1
0
 public static WeakAction <object, PropertyChangingEventArgs> GetInstance(PropertyChangingEventHandler handler)
 {
     return(WeakAction <object, PropertyChangingEventArgs> .GetInstance(new Action <object, PropertyChangingEventArgs>(handler)));
 }
Esempio n. 2
0
 public static WeakAction <object, EventArgs> GetInstance(EventHandler handler)
 {
     return(WeakAction <object, EventArgs> .GetInstance(new Action <object, EventArgs>(handler)));
 }
Esempio n. 3
0
 public static WeakAction <object, NotifyCollectionChangedEventArgs> GetInstance(NotifyCollectionChangedEventHandler handler)
 {
     return(WeakAction <object, NotifyCollectionChangedEventArgs> .GetInstance(new Action <object, NotifyCollectionChangedEventArgs>(handler)));
 }
Esempio 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)));
 }