Skip to content

WaitUntilStep ​

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

A step that waits until a condition is met on the terminal.

csharp
public sealed record WaitUntilStep : TestStep, IEquatable<TestStep>, IEquatable<WaitUntilStep>

Inheritance ​

Object → TestStep → WaitUntilStep

Implements ​

Constructors ​

WaitUntilStep(Func<Hex1bTerminalSnapshot, bool>, TimeSpan, string?, string?, string?, int?) ​

A step that waits until a condition is met on the terminal.

Parameters:

csharp
public WaitUntilStep(Func<Hex1bTerminalSnapshot, bool> Predicate, TimeSpan Timeout, string? Description = null, string? PredicateExpression = null, string? CallerFilePath = null, int? CallerLineNumber = null)

Properties ​

CallerFilePath ​

Returns: String

csharp
public string? CallerFilePath { get; init; }

CallerLineNumber ​

Returns: Nullable<Int32>

csharp
public int? CallerLineNumber { get; init; }

Description ​

Returns: String

csharp
public string? Description { get; init; }

Predicate ​

Returns: Func<Hex1bTerminalSnapshot, Boolean>

csharp
public Func<Hex1bTerminalSnapshot, bool> Predicate { get; init; }

PredicateExpression ​

Returns: String

csharp
public string? PredicateExpression { get; init; }

Timeout ​

Returns: TimeSpan

csharp
public TimeSpan Timeout { get; init; }

Released under the MIT License.