C# 클래스 SDownload.Framework.Streams.SCSetStream.SetItemReportProxy

Internal progress reporting proxy for handling tracking progress of multiple downloads but only sending one % to the actual view
상속: InfoReportProxy
파일 보기 프로젝트 열기: brkastner/SDownload

공개 메소드들

메소드 설명
Close ( ) : void

Closes the set item being tracked, sets the progress to -1 if being closed before download is complete

SetItemReportProxy ( SCSetStream master, int downloadCount ) : System

Creates a set item proxy

UpdateProgress ( int percentage ) : void

Stores the progress for the track and updates the master progress

메소드 상세

Close() 공개 메소드

Closes the set item being tracked, sets the progress to -1 if being closed before download is complete
public Close ( ) : void
리턴 void

SetItemReportProxy() 공개 메소드

Creates a set item proxy
public SetItemReportProxy ( SCSetStream master, int downloadCount ) : System
master SCSetStream The actual set handler
downloadCount int The total amount of downloads
리턴 System

UpdateProgress() 공개 메소드

Stores the progress for the track and updates the master progress
public UpdateProgress ( int percentage ) : void
percentage int The percentage complete the track ownlaod is
리턴 void