예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBackedConsole"/> class. The text is copied from the provided text backed console.
 /// </summary>
 /// <param name="from">The instance to copy the text from.</param>
 public TextBackedConsole(TextBackedConsole from)
 {
     _synchronizingObject = new object();
     _stb = new StringBuilder(from._stb.ToString());
 }
예제 #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="TextBackedConsole"/> class. The text is copied from the provided text backed console.
		/// </summary>
		/// <param name="from">The instance to copy the text from.</param>
		public TextBackedConsole(TextBackedConsole from)
		{
			_synchronizingObject = new object();
			_stb = new StringBuilder(from._stb.ToString());
		}