コード例 #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)));
 }