C# 클래스 Progression.ProgressCalculators.ProgressCalcUnknown

상속: IProgressCalculator
파일 보기 프로젝트 열기: scottrippey/Progression

공개 메소드들

메소드 설명
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