Inheritance: BasicObject
        /// <summary>
        /// Used to convert the element into a byte List.
        /// </summary>
        /// <param name="byteList">A Byte list</param>
        /// <returns>The number of the elements</returns>
        protected override int SerializeItemsToByteList(List <byte> byteList)
        {
            int itemsIndex = byteList.Count;

            byteList.AddRange(this.ObjectExtendedGUIDArray.SerializeToByteList());
            byteList.AddRange(CellIDArray.SerializeToByteList());
            byteList.AddRange(this.BLOBExtendedGUID.SerializeToByteList());
            return(byteList.Count - itemsIndex);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the CellIDArray class, this is copy constructor.
 /// </summary>
 /// <param name="cellIdArray">Specify the CellIDArray.</param>
 public CellIDArray(CellIDArray cellIdArray)
 {
     this.Count = cellIdArray.Count;
     if (cellIdArray.Content != null)
     {
         foreach (CellID cellId in cellIdArray.Content)
         {
             this.Content.Add(new CellID(cellId));
         }
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the CellIDArray class, this is copy constructor.
 /// </summary>
 /// <param name="cellIdArray">Specify the CellIDArray.</param>
 public CellIDArray(CellIDArray cellIdArray)
 {
     this.Count = cellIdArray.Count;
     if (cellIdArray.Content != null)
     {
         foreach (CellID cellId in cellIdArray.Content)
         {
             this.Content.Add(new CellID(cellId));
         }
     }
 }