/// <summary> /// Deserializa os dados da instancia. /// </summary> /// <param name="reader"></param> public void Deserialize(Serialization.IO.CompactReader reader) { _uid = reader.ReadGuid(); _createTime = reader.ReadDateTime(); var count = reader.ReadInt32(); while (count-- > 0) { var part = new AssemblyPart(); part.Deserialize(reader); _items.Add(part); } }