/// <summary> /// Constructor for a console output resulting from a command /// </summary> /// <param name="command"> the command that produced the output</param> /// <param name="source"> the source of the output</param> public ConsoleOutput(ConsoleCommand command, string source) { this.command = command; this.source = source; isCommandOutput = true; }
/// <summary> /// Constructor for a console input that is a valid console command /// </summary> /// <param name="command"> the inputted console command</param> public ConsoleInput(ConsoleCommand command) { this.command = command; isCommand = true; }