Struct WebProbe

Namespace
ProtoTest.Web
Assembly
ProtoTest.Web.dll

What one probe observed: whether its condition holds and the text that explains the observation.

public readonly record struct WebProbe : IEquatable<WebProbe>
Implements
Inherited Members
Extension Methods

Constructors

WebProbe(bool, string)

What one probe observed: whether its condition holds and the text that explains the observation.

public WebProbe(bool Holds, string Observation)

Parameters

Holds bool
Observation string

WebProbe(bool, string, string)

Observes a condition with the text for each of its two outcomes.

public WebProbe(bool holds, string whenHolds, string whenNotHolds)

Parameters

holds bool
whenHolds string
whenNotHolds string

Properties

Holds

public bool Holds { get; init; }

Property Value

bool

Observation

public string Observation { get; init; }

Property Value

string