Table of Contents

Class PrefetchStatusUpdatedEventArgs

Namespace
WebDriverBiDi.Speculation
Assembly
WebDriverBiDi.dll

Object containing event data for events raised when the prefetch status of a resource is updated.

public record PrefetchStatusUpdatedEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<PrefetchStatusUpdatedEventArgs>
Inheritance
PrefetchStatusUpdatedEventArgs
Implements
Inherited Members

Constructors

PrefetchStatusUpdatedEventArgs()

Initializes a new instance of the PrefetchStatusUpdatedEventArgs class.

[JsonConstructor]
public PrefetchStatusUpdatedEventArgs()

PrefetchStatusUpdatedEventArgs(PrefetchStatusUpdatedEventArgs)

protected PrefetchStatusUpdatedEventArgs(PrefetchStatusUpdatedEventArgs original)

Parameters

original PrefetchStatusUpdatedEventArgs

Properties

BrowsingContextId

Gets the ID of the browsing context for which the prefetch status is updated.

[JsonPropertyName("context")]
[JsonRequired]
[JsonInclude]
public string BrowsingContextId { get; }

Property Value

string

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Status

Gets the value of the updated prefetch status.

[JsonPropertyName("status")]
[JsonRequired]
[JsonInclude]
public PreloadingStatus Status { get; }

Property Value

PreloadingStatus

Url

Gets the URL of the resource for which the prefetch status is updated.

[JsonPropertyName("url")]
[JsonRequired]
[JsonInclude]
public string Url { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(PrefetchStatusUpdatedEventArgs?)

public virtual bool Equals(PrefetchStatusUpdatedEventArgs? other)

Parameters

other PrefetchStatusUpdatedEventArgs

Returns

bool

Equals(WebDriverBiDiEventArgs?)

public override sealed bool Equals(WebDriverBiDiEventArgs? other)

Parameters

other WebDriverBiDiEventArgs

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

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

Parameters

left PrefetchStatusUpdatedEventArgs
right PrefetchStatusUpdatedEventArgs

Returns

bool

operator !=(PrefetchStatusUpdatedEventArgs?, PrefetchStatusUpdatedEventArgs?)

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

Parameters

left PrefetchStatusUpdatedEventArgs
right PrefetchStatusUpdatedEventArgs

Returns

bool