Table of Contents

Class WriteProgressBarArgs

Namespace
SunamoCl.SunamoCmd.Args
Assembly
SunamoCl.dll

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

shouldUpdate bool

Whether 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

shouldUpdate bool

Whether to update the progress bar on each tick

actual double

Current progress value

overall double

Total progress value

Properties

Actual

Gets or sets the current progress value

public double Actual { get; set; }

Property Value

double

Default

Gets the default WriteProgressBarArgs instance

public static WriteProgressBarArgs Default { get; set; }

Property Value

WriteProgressBarArgs

Overall

Gets or sets the total progress value

public double Overall { get; set; }

Property Value

double

ShouldUpdate

Gets or sets whether the progress bar should be updated on each tick

public bool ShouldUpdate { get; set; }

Property Value

bool

ShouldWritePieces

Gets or sets whether to write individual progress pieces

public bool ShouldWritePieces { get; set; }

Property Value

bool