Table of Contents

Class AddDataCollectorCommandResult

Namespace
WebDriverBiDi.Network
Assembly
WebDriverBiDi.dll

Result for adding a data collector for network traffic using the network.addDataCollector command.

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

Constructors

AddDataCollectorCommandResult(AddDataCollectorCommandResult)

protected AddDataCollectorCommandResult(AddDataCollectorCommandResult original)

Parameters

original AddDataCollectorCommandResult

Properties

CollectorId

Gets the ID of the added network data collector.

[JsonPropertyName("collector")]
[JsonRequired]
[JsonInclude]
public string CollectorId { get; }

Property Value

string

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(AddDataCollectorCommandResult?)

public virtual bool Equals(AddDataCollectorCommandResult? other)

Parameters

other AddDataCollectorCommandResult

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 ==(AddDataCollectorCommandResult?, AddDataCollectorCommandResult?)

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

Parameters

left AddDataCollectorCommandResult
right AddDataCollectorCommandResult

Returns

bool

operator !=(AddDataCollectorCommandResult?, AddDataCollectorCommandResult?)

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

Parameters

left AddDataCollectorCommandResult
right AddDataCollectorCommandResult

Returns

bool