StandardOutputMatchesRule(String) Method

Definition

Assembly CliInvoke.Core.dll

A self-describing validation rule that ensures the process result's standard output matches the supplied regular expression.

public static ValidationRule<BufferedProcessResult> StandardOutputMatchesRule(string regex)

Parameters

regex
String

The regular expression pattern to evaluate against StandardOutput.

Returns