/// <summary> /// Writes a string to the console using given channel. /// </summary> /// <param name="message">The string to add.</param> /// <param name="channel">The channel to use.</param> public void AddLine(object message, Console.Channel channel = Console.Channel.Notice) { ConsoleUIControl.MessageBuffer.Add(new ConsoleMessage("STACK", message.ToString(), (byte)channel)); }
/// <summary> /// Writes a string to the console using given channel. /// </summary> /// <param name="message">The string to add.</param> /// <param name="channel">The channel to use.</param> public void WriteLine(object message, Console.Channel channel = Console.Channel.Notice) { Control.AddLine(message, channel); }