public static PropertyChangeWatcher AddWatcher(this INotifyPropertyChanged source, IList <string> propertyNames, Action handler) { return(PropertyChangeWatcher.AddWatcher(source, propertyNames, handler)); }
public static PropertyChangeWatcher AddWatcher <TEntity, TProperty>(this INotifyPropertyChanged source, Expression <Func <TEntity, TProperty> > propertyExpression, Action handler) { return(PropertyChangeWatcher.AddWatcher(source, new[] { propertyExpression.GetPropertyName() }, handler)); }
public static PropertyChangeWatcher AddWatcher(this INotifyPropertyChanged source, string propertyName1, string propertyName2, Action handler) { return(PropertyChangeWatcher.AddWatcher(source, new[] { propertyName1, propertyName2 }, handler)); }