C# 클래스 Progression.ProgressCalculators.ProgressCalcUnknownTimer

상속: ProgressCalcUnknown, IDisposable
파일 보기 프로젝트 열기: scottrippey/Progression

공개 메소드들

메소드 설명
Dispose ( ) : void
ProgressCalcUnknownTimer ( float estimatedDuration, float estimatedWeight, int interval, System.Progress parent ) : System

Represents an enhanced version of ProgressUnknown. Instead of waiting for sub-tasks to report progress, this task uses a timer to automatically report progress. As time ticks, progress gets closer to 100%, but never reaches it. Note that ProgressChanged events will fire on a different thread!

비공개 메소드들

메소드 설명
timerCallback ( object state ) : void

This is the Timer callback:

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ProgressCalcUnknownTimer() 공개 메소드

Represents an enhanced version of ProgressUnknown. Instead of waiting for sub-tasks to report progress, this task uses a timer to automatically report progress. As time ticks, progress gets closer to 100%, but never reaches it. Note that ProgressChanged events will fire on a different thread!
public ProgressCalcUnknownTimer ( float estimatedDuration, float estimatedWeight, int interval, System.Progress parent ) : System
estimatedDuration float The estimated duration of this task, in seconds
estimatedWeight float /// A value between 0.0 and 1.0 that determines how much weight to place on the estimatedDuration. /// For example, if estimatedDuration is 100 and estimatedWeight is .75, /// then when 100 seconds have completed, progress will be at 75%. /// /// This value cannot equal 0.0 or 1.0. ///
interval int The rate at which to update the progress, in milliseconds
parent System.Progress
리턴 System