public void ResumeFromSave(Builder_ProgrammableBlock builder) { if (this.m_block.EntityId != builder.BlockId) { throw new ArgumentException("Serialized block id " + builder.BlockId + " does not match block id " + this.m_block.EntityId); } this.m_handleDetectedTerminal = builder.HandleDetected; this.m_blockCountList_sb = new StringBuilder(builder.BlockCountList); }
public void ResumeFromSave(Builder_ProgrammableBlock builder) { if (this.m_block.EntityId != builder.BlockId) throw new ArgumentException("Serialized block id " + builder.BlockId + " does not match block id " + this.m_block.EntityId); this.m_handleDetectedTerminal = builder.HandleDetected; this.m_blockCountList_sb = new StringBuilder(builder.BlockCountList); }