public void Serialize(IDataWriter writer)
 {
     SellerDescriptor.Serialize(writer);
     for (var i = 0; i < ObjectsInfos.Length; i++)
     {
         ObjectsInfos[i].Serialize(writer);
     }
 }
示例#2
0
 public override void Serialize(IDataWriter writer)
 {
     SellerDescriptor.Serialize(writer);
     writer.WriteShort((short)ObjectsInfos.Count);
     foreach (var x in ObjectsInfos)
     {
         x.Serialize(writer);
     }
 }
示例#3
0
 public override void Serialize(IDataWriter writer)
 {
     SellerDescriptor.Serialize(writer);
     writer.WriteShort((short)ObjectsInfos.Count);
     for (var objectsInfosIndex = 0; objectsInfosIndex < ObjectsInfos.Count; objectsInfosIndex++)
     {
         var objectToSend = ObjectsInfos[objectsInfosIndex];
         objectToSend.Serialize(writer);
     }
 }