public CellInfo() : base() { m_cellType = new serialization.types.Byte((byte)CellType.CELL_NONE); m_logicCellBytes = new serialization.types.ByteArray(new byte[0]); InitSerializableMembers(m_cellType, m_logicCellBytes); }
public CellInfo(LogicCell parentCell) { if (parentCell != null) { m_cellType = new serialization.types.Byte((byte)parentCell.GetCellType()); m_logicCellBytes = new serialization.types.ByteArray(parentCell.GetBytes()); } else { m_cellType = new serialization.types.Byte((byte)CellType.CELL_NONE); m_logicCellBytes = new serialization.types.ByteArray(new byte[0]); } InitSerializableMembers(m_cellType, m_logicCellBytes); }