Ejemplo n.º 1
0
        private void m_block_AppendingCustomInfo(IMyTerminalBlock arg1, StringBuilder arg2)
        {
            Log.DebugLog("entered");

            if (!string.IsNullOrWhiteSpace(m_infoMessage))
            {
                Log.DebugLog("appending info message: " + m_infoMessage);
                arg2.AppendLine();
                arg2.AppendLine(m_infoMessage);
            }

            if (!m_listCommands && m_currentCommand != null)
            {
                Log.DebugLog("appending command info");
                arg2.AppendLine();
                m_currentCommand.AppendCustomInfo(arg2);
                arg2.AppendLine();
            }
        }