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