C# Класс Progression.ProgressCalculators.ProgressCalcWeighted

Наследование: IProgressCalculator
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
StepWeights float[]

Открытые методы

Метод Описание
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

Описание методов

CalculateProgress() публичный Метод

Calculates the progress of this task.
public CalculateProgress ( float stepProgress ) : float
stepProgress float The progress of nested steps
Результат float

NextStep() публичный Метод

Advances the current progress task to the next step.
public NextStep ( ) : void
Результат void

ProgressCalcWeighted() публичный Метод

public ProgressCalcWeighted ( float stepWeights ) : System.Diagnostics
stepWeights float
Результат System.Diagnostics

ToString() публичный Метод

public ToString ( ) : string
Результат string

Описание свойств

StepWeights защищенное свойство

Step Weights is a list of the relative weight of each step.
protected float[] StepWeights
Результат float[]