예제 #1
0
            public static MemberIndex Create <returnType>(Expression <Func <T, returnType> > member)
            {
                int index = MemberMapType.GetMemberIndex(GetMemberName(member));

                return(new MemberIndex(index >= 0 ? index : -1));
            }
예제 #2
0
 /// <summary>
 /// 成员位图
 /// </summary>
 /// <param name="type">成员位图类型信息</param>
 internal MemberMap(MemberMapType type)
 {
     Type = type;
 }