예제 #1
0
        /// <summary>
        /// Writes one or more lines of text to the output without a trailing newline.
        /// </summary>
        public void Write(string text)
        {
            TheWriter.Write(text);

            if (Debugging && (DebugFile != null) && (DebugFile != string.Empty))
            {
                File.AppendAllText(DebugFile, text);
            }
        }
예제 #2
0
        /// <summary>
        /// Writes one or more lines of text to the output with a trailing newline.
        /// </summary>
        public void WriteText(string text)
        {
            TheWriter.WriteLine(text);

            if (Debugging && (DebugFile != null) && (DebugFile != string.Empty))
            {
                File.AppendAllText(DebugFile, text + System.Environment.NewLine);
            }
        }
예제 #3
0
 private void CloseWrite()
 {
     TheWriter.Close();
 }