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
originalEmptyResult
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(CommandResult?)
public override sealed bool Equals(CommandResult? other)
Parameters
otherCommandResult
Returns
Equals(EmptyResult?)
public virtual bool Equals(EmptyResult? other)
Parameters
otherEmptyResult
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(EmptyResult?, EmptyResult?)
public static bool operator ==(EmptyResult? left, EmptyResult? right)
Parameters
leftEmptyResultrightEmptyResult
Returns
operator !=(EmptyResult?, EmptyResult?)
public static bool operator !=(EmptyResult? left, EmptyResult? right)
Parameters
leftEmptyResultrightEmptyResult