public static string GetName <TSource, T>(Expression <Func <TSource, T> > memberExpression) { return(Reflect.GetMember <TSource, T>(memberExpression).Name); }
public static string GetName(Expression <Action> memberExpression) { return(Reflect.GetMember(memberExpression).Name); }