void Client_OnProgress(object sender, OnProgressArgs args) { if (this.OnProgress != null && this.progress != null) { this.OnProgress(this, this.progress.OnProgressHandler(args)); } }
private void httpTransport_OnProgress(object sender, OnProgressArgs args) { if (this.OnProgress != null) { this.OnProgress(this, args); } }
public OnProgressArgs OnProgressHandler(OnProgressArgs args) { this.totalBytesRead += args.TotalBytesRead; return(new OnProgressArgs(this.remotePath, args.LastBytesRead, this.totalBytesRead, this.totalBytes)); }