C# 클래스 NanoByte.Common.Tasks.TaskSnapshot

파일 보기 프로젝트 열기: nano-byte/common 1 사용 예제들

공개 메소드들

메소드 설명
TaskSnapshot ( TaskState state, bool unitsByte = false, long unitsProcessed, long unitsTotal = -1 ) : System

Create a new progress snapshot.

ToString ( ) : string

비공개 메소드들

메소드 설명
UnitsToString ( long units ) : string

메소드 상세

TaskSnapshot() 공개 메소드

Create a new progress snapshot.
public TaskSnapshot ( TaskState state, bool unitsByte = false, long unitsProcessed, long unitsTotal = -1 ) : System
state TaskState The current State of the task.
unitsByte bool true if and are measured in bytes; false if they are measured in generic units.
unitsProcessed long The number of units that have been processed so far.
unitsTotal long The total number of units that are to be processed; -1 for unknown.
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string