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

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

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

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

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

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

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

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. ///
Результат System

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

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