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
Показать файл Открыть проект

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

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