Esempio n. 1
0
        public static MemberInfo GetMember <TResult>(Expression <Func <T, TResult> > expression)
        {
            Argument.ThrowIfNull(expression, "expression");

            return(Reflect.GetMemberInfo(expression));
        }
Esempio n. 2
0
        public static MemberInfo GetMember(Expression <Action <T> > expression)
        {
            Argument.ThrowIfNull(expression, "expression");

            return(Reflect.GetMemberInfo(expression));
        }