Ejemplo n.º 1
0
        public override void Read(OsiReader reader)
        {
            base.Read(reader);
            LeftParentRef  = reader.ReadNodeRef();
            RightParentRef = reader.ReadNodeRef();
            Adapter1Ref    = reader.ReadAdapterRef();
            Adapter2Ref    = reader.ReadAdapterRef();

            Database1Ref = reader.ReadDatabaseRef();
            Database1    = new NodeEntryItem();
            Database1.Read(reader);
            Database1Flag = reader.ReadByte();

            Database2Ref = reader.ReadDatabaseRef();
            Database2    = new NodeEntryItem();
            Database2.Read(reader);
            Database2Flag = reader.ReadByte();
        }
Ejemplo n.º 2
0
 public virtual void Read(OsiReader reader)
 {
     DatabaseRef = reader.ReadDatabaseRef();
     Name        = reader.ReadString();
     if (Name.Length > 0)
     {
         NameIndex = reader.ReadByte();
     }
 }
Ejemplo n.º 3
0
        public override void Read(OsiReader reader)
        {
            base.Read(reader);
            LeftParentRef   = reader.ReadNodeRef();
            RightParentRef  = reader.ReadNodeRef();
            LeftAdapterRef  = reader.ReadAdapterRef();
            RightAdapterRef = reader.ReadAdapterRef();

            LeftDatabaseRef = reader.ReadDatabaseRef();
            LeftDatabase    = new NodeEntryItem();
            LeftDatabase.Read(reader);
            LeftDatabaseFlag = reader.ReadByte();

            RightDatabaseRef = reader.ReadDatabaseRef();
            RightDatabase    = new NodeEntryItem();
            RightDatabase.Read(reader);
            RightDatabaseFlag = reader.ReadByte();
        }