Table of Contents

Class DownloadWillBeginEventArgs

Namespace
WebDriverBiDi.BrowsingContext
Assembly
WebDriverBiDi.dll

Object containing event data for the browsingContext.downloadWillBegin event.

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

Constructors

DownloadWillBeginEventArgs()

Initializes a new instance of the DownloadWillBeginEventArgs class.

[JsonConstructor]
public DownloadWillBeginEventArgs()

DownloadWillBeginEventArgs(DownloadWillBeginEventArgs)

protected DownloadWillBeginEventArgs(DownloadWillBeginEventArgs original)

Parameters

original DownloadWillBeginEventArgs

Properties

DownloadId

Gets the ID for this download.

[JsonPropertyName("download")]
[JsonRequired]
[JsonInclude]
public string DownloadId { get; }

Property Value

string

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

SuggestedFileName

Gets the suggested file name of the item to be downloaded.

[JsonPropertyName("suggestedFilename")]
[JsonRequired]
[JsonInclude]
public string SuggestedFileName { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(DownloadWillBeginEventArgs?)

public virtual bool Equals(DownloadWillBeginEventArgs? other)

Parameters

other DownloadWillBeginEventArgs

Returns

bool

Equals(NavigationEventArgs?)

public override sealed bool Equals(NavigationEventArgs? other)

Parameters

other NavigationEventArgs

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

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

Parameters

left DownloadWillBeginEventArgs
right DownloadWillBeginEventArgs

Returns

bool

operator !=(DownloadWillBeginEventArgs?, DownloadWillBeginEventArgs?)

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

Parameters

left DownloadWillBeginEventArgs
right DownloadWillBeginEventArgs

Returns

bool