C# Class Progression.ProgressCalculators.ProgressCalcUnknown

Inheritance: IProgressCalculator
Afficher le fichier Open project: scottrippey/Progression

Méthodes publiques

Méthode Description
CalculateProgress ( float stepProgress ) : float

Calculates the progress of this task.

NextStep ( ) : void

Advances the current progress task to the next step.

ProgressCalcUnknown ( int estimatedSteps, float estimatedWeight ) : System

ToString ( ) : string

Method Details

CalculateProgress() public méthode

Calculates the progress of this task.
public CalculateProgress ( float stepProgress ) : float
stepProgress float The progress of nested steps
Résultat float

NextStep() public méthode

Advances the current progress task to the next step.
public NextStep ( ) : void
Résultat void

ProgressCalcUnknown() public méthode

public ProgressCalcUnknown ( int estimatedSteps, float estimatedWeight ) : System
estimatedSteps int
estimatedWeight float /// A value between 0.0 and 1.0 that determines how much weight to place on the estimated steps. /// For example, if estimatedSteps is 100 and estimatedWeight is .75, /// then when 100 steps have completed, progress will be at 75%. /// /// This value cannot equal 0.0 or 1.0. ///
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string