Table of Contents

Class PartitionKey

Namespace
WebDriverBiDi.Storage
Assembly
WebDriverBiDi.dll

Object containing data about a partition key for a browser cookie.

public record PartitionKey : IEquatable<PartitionKey>
Inheritance
PartitionKey
Implements
Inherited Members

Constructors

PartitionKey(PartitionKey)

protected PartitionKey(PartitionKey original)

Parameters

original PartitionKey

Properties

AdditionalData

Gets read-only dictionary of additional properties deserialized with this message.

[JsonIgnore]
public ReceivedDataDictionary AdditionalData { get; }

Property Value

ReceivedDataDictionary

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

SourceOrigin

Gets the source origin of the cookie partition key.

[JsonPropertyName("sourceOrigin")]
[JsonInclude]
public string? SourceOrigin { get; }

Property Value

string

UserContextId

Gets the ID of the user context of the cookie partition key.

[JsonPropertyName("userContext")]
[JsonInclude]
public string? UserContextId { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(PartitionKey?)

public virtual bool Equals(PartitionKey? other)

Parameters

other PartitionKey

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(PartitionKey?, PartitionKey?)

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

Parameters

left PartitionKey
right PartitionKey

Returns

bool

operator !=(PartitionKey?, PartitionKey?)

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

Parameters

left PartitionKey
right PartitionKey

Returns

bool