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

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

            return(Reflect.GetMemberInfo(expression));
        }