C# Класс SDownload.Framework.InfoReportProxy

Provides a base proxy for communicating progress updates to a client.
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
Remote Action

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

Метод Описание
Close ( ) : void

Close the connection to the client

Report ( String info, bool close = false ) : void

Report a string to the remote proxy

UpdateProgress ( int percentage ) : void

Reports the current progress to the remote proxy

Описание методов

Close() публичный Метод

Close the connection to the client
public Close ( ) : void
Результат void

Report() публичный Метод

Report a string to the remote proxy
public Report ( String info, bool close = false ) : void
info String The information to send
close bool Whether to close the connection afterwards or not
Результат void

UpdateProgress() публичный Метод

Reports the current progress to the remote proxy
public UpdateProgress ( int percentage ) : void
percentage int The percentage completed
Результат void

Описание свойств

Remote защищенное свойство

The function to send the updated information
protected Action Remote
Результат Action