/* ============================================================================== * 功能描述:StreamProgressArgs * 创 建 者:Garrett * 创建日期:2019/9/16 19:25:42 * ==============================================================================*/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PackageUploader.Http { /// /// StreamProgressArgs /// class StreamProgressArgs : EventArgs { public StreamProgressArgs(long incrementTransferred, long transferred, long total) { IncrementTransferred = incrementTransferred; TransferredBytes = transferred; TotalBytes = total; } public long IncrementTransferred { get; private set; } public long TransferredBytes { get; private set; } public long TotalBytes { get; private set; } /// /// 传输是否完成 /// public bool TransCompleted { get; internal set; } } }