RequiresStandardErrorIsEmpty() Method

Definition

Assembly CliInvoke.Core.dll

A validation rule that checks whether the process result's standard error output is empty or contains only whitespace. Only meaningful when the result is a BufferedProcessResult; results that do not expose standard error text pass the rule.

public static Func<BufferedProcessResult, bool> RequiresStandardErrorIsEmpty()

Returns

Func<BufferedProcessResult, Boolean>
A function that takes an instance of BufferedProcessResult as input and evaluates to true if the standard error is empty; otherwise, false.