示例#1
0
 public static PropertyChangeWatcher AddWatcher(this INotifyPropertyChanged source, IList <string> propertyNames, Action handler)
 {
     return(PropertyChangeWatcher.AddWatcher(source, propertyNames, handler));
 }
示例#2
0
 public static PropertyChangeWatcher AddWatcher(this INotifyPropertyChanged source, string propertyName1, string propertyName2, Action handler)
 {
     return(PropertyChangeWatcher.AddWatcher(source, new[] { propertyName1, propertyName2 }, handler));
 }