Table of Contents

Class DeleteCookiesCommandResult

Namespace
WebDriverBiDi.Storage
Assembly
WebDriverBiDi.dll

Result for deleting cookies using the storage.deleteCookies command.

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

Constructors

DeleteCookiesCommandResult(DeleteCookiesCommandResult)

protected DeleteCookiesCommandResult(DeleteCookiesCommandResult original)

Parameters

original DeleteCookiesCommandResult

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

PartitionKey

Gets the partition key of the storage partition the cookies were deleted from.

[JsonPropertyName("partitionKey")]
[JsonRequired]
[JsonInclude]
public PartitionKey PartitionKey { get; }

Property Value

PartitionKey

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

public virtual bool Equals(DeleteCookiesCommandResult? other)

Parameters

other DeleteCookiesCommandResult

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

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

Parameters

left DeleteCookiesCommandResult
right DeleteCookiesCommandResult

Returns

bool

operator !=(DeleteCookiesCommandResult?, DeleteCookiesCommandResult?)

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

Parameters

left DeleteCookiesCommandResult
right DeleteCookiesCommandResult

Returns

bool