Ejemplo n.º 1
0
 public void WriteLine(object someObject)
 {
     if (someObject != null)
     {
         OutputStreamHost.WriteLine(someObject.ToString());
     }
     OutputStreamHost.WriteLine();
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Writes text.
        /// </summary>
        /// <param name="text"></param>
        public static void Write(string text)
        {
            OutputStreamHost.InitializeIfNeeded();

            if (_previous_progress > 0)
            {
                _previous_progress = 0;
                OutputStreamHost.WriteLine();
            }

            foreach (IOutputStream stream in _output_streams)
            {
                stream.Write(text);
            }
        }
Ejemplo n.º 3
0
 public void WriteLine(string text)
 {
     OutputStreamHost.WriteLine(text);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Writes a line.
 /// </summary>
 /// <param name="format"></param>
 /// <param name="arg"></param>
 public static void WriteLine(string format, params object[] arg)
 {
     OutputStreamHost.WriteLine(
         string.Format(format, arg));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Writes a line.
 /// </summary>
 public static void WriteLine()
 {
     OutputStreamHost.WriteLine(string.Empty);
 }