Class WriteProgressBarArgs
Arguments controlling progress bar display behavior and values
public class WriteProgressBarArgs
- Inheritance
-
WriteProgressBarArgs
- Inherited Members
- Extension Methods
Constructors
WriteProgressBarArgs()
Initializes a new instance with default values
public WriteProgressBarArgs()
WriteProgressBarArgs(bool)
Initializes a new instance with the specified update behavior
public WriteProgressBarArgs(bool shouldUpdate)
Parameters
shouldUpdateboolWhether to update the progress bar on each tick
WriteProgressBarArgs(bool, double, double)
Initializes a new instance with update behavior and progress values
public WriteProgressBarArgs(bool shouldUpdate, double actual, double overall)
Parameters
shouldUpdateboolWhether to update the progress bar on each tick
actualdoubleCurrent progress value
overalldoubleTotal progress value
Properties
Actual
Gets or sets the current progress value
public double Actual { get; set; }
Property Value
Default
Gets the default WriteProgressBarArgs instance
public static WriteProgressBarArgs Default { get; set; }
Property Value
Overall
Gets or sets the total progress value
public double Overall { get; set; }
Property Value
ShouldUpdate
Gets or sets whether the progress bar should be updated on each tick
public bool ShouldUpdate { get; set; }
Property Value
ShouldWritePieces
Gets or sets whether to write individual progress pieces
public bool ShouldWritePieces { get; set; }