FakeProcessRun Class

Describes one run that a FakeProcessRunner recorded.

public sealed class FakeProcessRun

Properties

NameDescription
ArgumentsGets the arguments of the program that the run received.
ExecutableGets the name or the path of the program that the run received.
OptionsGets the options of the run.

Arguments

Gets the arguments of the program that the run received.

public IReadOnlyList<string> Arguments { get; }

Property value

IReadOnlyList<string> A copy of the arguments, made when the run started.

Executable

Gets the name or the path of the program that the run received.

public string Executable { get; }

Property value

string

Options

Gets the options of the run.

public ProcessRunOptions Options { get; }

Property value

ProcessRunOptions The options that the run received. When the run received null, an instance with the default value of every option.