using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ksat.Supplyment.Library.Model.Uploader; namespace Ksat.Supplyment.Library.Uploader { public delegate void UploadFinishHandler(object sender, bool success, string reason) ; public interface IUploaderRequest { /// /// 请求数据 /// T RequestData { get; set; } /// /// 开始上传任务 /// void Start(); /// /// 停止上传任务 /// void Cancel(); /// /// 上传完成事件 /// event UploadFinishHandler UploadFinish; } }