Class UpgradeProgressEventArgs
public class UpgradeProgressEventArgs : EventArgs, IEquatable<UpgradeProgressEventArgs>
- Inheritance
-
UpgradeProgressEventArgs
- Implements
- Inherited Members
Constructors
UpgradeProgressEventArgs(UpgradeState, int, string?)
public UpgradeProgressEventArgs(UpgradeState state, int progressPercent, string? errorMessage = null)
Parameters
state
UpgradeStateprogressPercent
interrorMessage
string
Properties
ErrorMessage
public string? ErrorMessage { get; }
Property Value
ProgressPercent
public int ProgressPercent { get; }
Property Value
State
public UpgradeState State { get; }
Property Value
Methods
Equals(UpgradeProgressEventArgs?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(UpgradeProgressEventArgs? other)
Parameters
other
UpgradeProgressEventArgsAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.