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
originalDownloadWillBeginEventArgs
Properties
DownloadId
Gets the ID for this download.
[JsonPropertyName("download")]
[JsonRequired]
[JsonInclude]
public string DownloadId { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
SuggestedFileName
Gets the suggested file name of the item to be downloaded.
[JsonPropertyName("suggestedFilename")]
[JsonRequired]
[JsonInclude]
public string SuggestedFileName { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(DownloadWillBeginEventArgs?)
public virtual bool Equals(DownloadWillBeginEventArgs? other)
Parameters
Returns
Equals(NavigationEventArgs?)
public override sealed bool Equals(NavigationEventArgs? other)
Parameters
otherNavigationEventArgs
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 ==(DownloadWillBeginEventArgs?, DownloadWillBeginEventArgs?)
public static bool operator ==(DownloadWillBeginEventArgs? left, DownloadWillBeginEventArgs? right)
Parameters
Returns
operator !=(DownloadWillBeginEventArgs?, DownloadWillBeginEventArgs?)
public static bool operator !=(DownloadWillBeginEventArgs? left, DownloadWillBeginEventArgs? right)