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

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

            return(Reflect.GetMemberInfo(expression));
        }