C# Class Progression.ProgressCalculators.ProgressCalcWeighted

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

Protected Properties

Свойство Type Description
StepWeights float[]

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.

ProgressCalcWeighted ( float stepWeights ) : System.Diagnostics
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

ProgressCalcWeighted() public méthode

public ProgressCalcWeighted ( float stepWeights ) : System.Diagnostics
stepWeights float
Résultat System.Diagnostics

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

StepWeights protected_oe property

Step Weights is a list of the relative weight of each step.
protected float[] StepWeights
Résultat float[]