Table of Contents

Class EmptyResult

Namespace
WebDriverBiDi
Assembly
WebDriverBiDi.dll

Represents an empty result from a command.

public record EmptyResult : CommandResult, IEquatable<CommandResult>, IEquatable<EmptyResult>
Inheritance
EmptyResult
Implements
Derived
Inherited Members

Remarks

The protocol defines EmptyResult as extensible, so a remote end may place additional properties inside the otherwise empty result object. Those are exposed through AdditionalData, and extension properties found on the response envelope through AdditionalResponseProperties, exactly as for every other command result. The two positions are never merged, and neither stands in for the other: an empty result object leaves AdditionalData empty however many extension properties the envelope carries.

Constructors

EmptyResult()

public EmptyResult()

EmptyResult(EmptyResult)

protected EmptyResult(EmptyResult original)

Parameters

original EmptyResult

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(CommandResult?)

public override sealed bool Equals(CommandResult? other)

Parameters

other CommandResult

Returns

bool

Equals(EmptyResult?)

public virtual bool Equals(EmptyResult? other)

Parameters

other EmptyResult

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(EmptyResult?, EmptyResult?)

public static bool operator ==(EmptyResult? left, EmptyResult? right)

Parameters

left EmptyResult
right EmptyResult

Returns

bool

operator !=(EmptyResult?, EmptyResult?)

public static bool operator !=(EmptyResult? left, EmptyResult? right)

Parameters

left EmptyResult
right EmptyResult

Returns

bool