コード例 #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));
        }