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
originalPartitionKey
Properties
AdditionalData
Gets read-only dictionary of additional properties deserialized with this message.
[JsonIgnore]
public ReceivedDataDictionary AdditionalData { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
SourceOrigin
Gets the source origin of the cookie partition key.
[JsonPropertyName("sourceOrigin")]
[JsonInclude]
public string? SourceOrigin { get; }
Property Value
UserContextId
Gets the ID of the user context of the cookie partition key.
[JsonPropertyName("userContext")]
[JsonInclude]
public string? UserContextId { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(PartitionKey?)
public virtual bool Equals(PartitionKey? other)
Parameters
otherPartitionKey
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 ==(PartitionKey?, PartitionKey?)
public static bool operator ==(PartitionKey? left, PartitionKey? right)
Parameters
leftPartitionKeyrightPartitionKey
Returns
operator !=(PartitionKey?, PartitionKey?)
public static bool operator !=(PartitionKey? left, PartitionKey? right)
Parameters
leftPartitionKeyrightPartitionKey