Ejemplo n.º 1
0
 public static string NameOf <TResult>(Expression <Func <T, TResult> > expression)
 {
     return(Reflect.GetNameOf(expression));
 }
Ejemplo n.º 2
0
        public static MemberInfo GetMember <TResult>(Expression <Func <T, TResult> > expression)
        {
            Check.Argument.IsNotNull(expression, "expression");

            return(Reflect.GetMemberInfo(expression));
        }
Ejemplo n.º 3
0
 public static string NameOf(Expression <Action <T> > expression)
 {
     return(Reflect.GetNameOf(expression));
 }
Ejemplo n.º 4
0
        public static MemberInfo GetMember(Expression <Action <T> > expression)
        {
            Check.Argument.IsNotNull(expression, "expression");

            return(Reflect.GetMemberInfo(expression));
        }