public static string NameOf <TResult>(Expression <Func <T, TResult> > expression) { return(Reflect.GetNameOf(expression)); }
public static MemberInfo GetMember <TResult>(Expression <Func <T, TResult> > expression) { Argument.ThrowIfNull(expression, "expression"); return(Reflect.GetMemberInfo(expression)); }
public static string NameOf(Expression <Action <T> > expression) { return(Reflect.GetNameOf(expression)); }
public static MemberInfo GetMember(Expression <Action <T> > expression) { Argument.ThrowIfNull(expression, "expression"); return(Reflect.GetMemberInfo(expression)); }