Example #1
0
 public static bool PropertyNameMatches <TValue>(this PropertyChangedEventArgs args, Expression <Func <TValue> > propertyExpression)
 {
     return(args.PropertyName == string.Empty || args.PropertyName == args.ExtractPropertyName(propertyExpression));
 }