Exemple #1
0
 private void deSerialize(AutoCSer.BinarySerialize.DeSerializer deSerializer)
 {
     AutoCSer.Metadata.MemberMap oldMemberMap = deSerializer.SetCustomMemberMap(MemberMap);
     try
     {
         deSerializer.TypeDeSerialize(ref Value);
     }
     finally { MemberMap = (AutoCSer.Metadata.MemberMap <valueType>)deSerializer.SetCustomMemberMap(oldMemberMap); }
 }
Exemple #2
0
        private void deSerialize(AutoCSer.BinarySerialize.DeSerializer deSerializer)
        {
            MemberMap memberMap = deSerializer.SetCustomMemberMap(MemberMap);

            try
            {
                deSerializer.TypeDeSerialize(ref Value);
            }
            finally { MemberMap = deSerializer.SetCustomMemberMap(memberMap); }
        }