コード例 #1
0
ファイル: ClassMarshaller.cs プロジェクト: pondyond/db4o
 public void Read(ObjectContainerBase stream, ClassMetadata clazz, ByteArrayBuffer
                  reader)
 {
     clazz.SetAncestor(stream.ClassMetadataForID(reader.ReadInt()));
     //        if(clazz.callConstructor()){
     //            // The logic further down checks the ancestor YapClass, whether
     //            // or not it is allowed, not to call constructors. The ancestor
     //            // YapClass may possibly have not been loaded yet.
     //            clazz.createConstructor(true);
     //        }
     clazz.CheckType();
     ReadIndex(stream, clazz, reader);
     clazz._aspects = ReadAspects(stream, reader, clazz);
 }
コード例 #2
0
ファイル: ClassMarshaller.cs プロジェクト: masroore/db4o
 public void Read(ObjectContainerBase stream, ClassMetadata clazz, ByteArrayBuffer
     reader)
 {
     clazz.SetAncestor(stream.ClassMetadataForID(reader.ReadInt()));
     //        if(clazz.callConstructor()){
     //            // The logic further down checks the ancestor YapClass, whether
     //            // or not it is allowed, not to call constructors. The ancestor
     //            // YapClass may possibly have not been loaded yet.
     //            clazz.createConstructor(true);
     //        }
     clazz.CheckType();
     ReadIndex(stream, clazz, reader);
     clazz._aspects = ReadAspects(stream, reader, clazz);
 }