예제 #1
0
        public InnerTypeMapItem(MemberInfo oldMemberInfo, MemberInfo newMemberInfo)
        {
            OldMemberInfo = oldMemberInfo;
            NewMemberInfo = newMemberInfo;

            OldStr = XmlCommentsNodeNameHelper.GetMemberNameForFieldOrProperty(OldMemberInfo);
            NewStr = XmlCommentsNodeNameHelper.GetMemberNameForFieldOrProperty(NewMemberInfo);
        }
예제 #2
0
        public InnerTypeMapItem(Type oldType, Type newType)
        {
            OldType = oldType;
            NewType = newType;

            OldStr = XmlCommentsNodeNameHelper.GetMemberNameForType(oldType);
            NewStr = XmlCommentsNodeNameHelper.GetMemberNameForType(newType);
        }