Class CommandResult
- Namespace
- WebDriverBiDi
- Assembly
- WebDriverBiDi.dll
Data received from a response.
public record CommandResult : IEquatable<CommandResult>
- Inheritance
-
CommandResult
- Implements
- Derived
- Inherited Members
Constructors
CommandResult()
public CommandResult()
CommandResult(CommandResult)
protected CommandResult(CommandResult original)
Parameters
originalCommandResult
Properties
AdditionalData
Gets the extension properties received inside the result object of the response:
properties beside the result's specified members that the result type does not define.
public ReceivedDataDictionary AdditionalData { get; }
Property Value
Remarks
This is the receiving-side counterpart of AdditionalData, which
places properties inside the params object of a command. Properties found on the
response envelope instead are exposed through AdditionalResponseProperties. It is always
empty for an ErrorResult, whose response has no result object at all.
AdditionalResponseProperties
Gets the extension properties received on the response envelope: properties beside
type, id and result, such as Chromium's goog:channel.
public ReceivedDataDictionary AdditionalResponseProperties { get; }
Property Value
Remarks
This is the receiving-side counterpart of AdditionalCommandProperties. An error
response has no result object, so every extension member of an error is exposed here.
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
IsError
Gets a value indicating whether the response data is an error.
public virtual bool IsError { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(CommandResult?)
public virtual bool Equals(CommandResult? other)
Parameters
otherCommandResult
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(CommandResult?, CommandResult?)
public static bool operator ==(CommandResult? left, CommandResult? right)
Parameters
leftCommandResultrightCommandResult
Returns
operator !=(CommandResult?, CommandResult?)
public static bool operator !=(CommandResult? left, CommandResult? right)
Parameters
leftCommandResultrightCommandResult