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
originalPrefetchStatusUpdatedEventArgs
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
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Status
Gets the value of the updated prefetch status.
[JsonPropertyName("status")]
[JsonRequired]
[JsonInclude]
public PreloadingStatus Status { get; }
Property Value
Url
Gets the URL of the resource for which the prefetch status is updated.
[JsonPropertyName("url")]
[JsonRequired]
[JsonInclude]
public string Url { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(PrefetchStatusUpdatedEventArgs?)
public virtual bool Equals(PrefetchStatusUpdatedEventArgs? other)
Parameters
Returns
Equals(WebDriverBiDiEventArgs?)
public override sealed bool Equals(WebDriverBiDiEventArgs? other)
Parameters
otherWebDriverBiDiEventArgs
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(PrefetchStatusUpdatedEventArgs?, PrefetchStatusUpdatedEventArgs?)
public static bool operator ==(PrefetchStatusUpdatedEventArgs? left, PrefetchStatusUpdatedEventArgs? right)
Parameters
Returns
operator !=(PrefetchStatusUpdatedEventArgs?, PrefetchStatusUpdatedEventArgs?)
public static bool operator !=(PrefetchStatusUpdatedEventArgs? left, PrefetchStatusUpdatedEventArgs? right)