/// <summary> /// Initializes a new instance of the <see cref="ConsoleProcessRunner"/> class. /// </summary> /// <param name="receiver">The receiver.</param> public ConsoleProcessRunner(IConsoleOutputReceiver receiver) { ArgumentUtility.NotNull ( receiver, "receiver"); _receiver = receiver; }
/// <summary> /// Constructor. /// </summary> public ConsoleProcessRunner ( [NotNull] IConsoleOutputReceiver receiver ) { Code.NotNull(receiver, "receiver"); Receiver = receiver; }