示例#1
0
        public static Action <TObject, TMember> MemberSet(string memberName)
        {
            MemberReflector <TObject, TMember> helper = new MemberReflector <TObject, TMember>(memberName);

            return(helper.Set);
        }
示例#2
0
        public static Func <TObject, TMember> MemberGet(string memberName)
        {
            MemberReflector <TObject, TMember> helper = new MemberReflector <TObject, TMember>(memberName);

            return(helper.Get);
        }