예제 #1
0
 public static string NameOf <TResult>(Expression <Func <T, TResult> > expression)
 {
     return(Reflect.GetNameOf(expression));
 }
예제 #2
0
        public static MemberInfo GetMember <TResult>(Expression <Func <T, TResult> > expression)
        {
            Argument.ThrowIfNull(expression, "expression");

            return(Reflect.GetMemberInfo(expression));
        }
예제 #3
0
 public static string NameOf(Expression <Action <T> > expression)
 {
     return(Reflect.GetNameOf(expression));
 }
예제 #4
0
        public static MemberInfo GetMember(Expression <Action <T> > expression)
        {
            Argument.ThrowIfNull(expression, "expression");

            return(Reflect.GetMemberInfo(expression));
        }