using System; using Update.Core.Entities; namespace Update.Core.Events { /// /// 检查完毕,开始更新事件类型 /// /// /// public delegate void UpdateStartedEventHandler(object sender, UpdateStartedEventArgs e); /// /// 检查完毕,开始更新事件数据 /// public class UpdateStartedEventArgs : EventArgs { /// /// 要下载的更新包集合 /// public PackageCollection Packages { get; private set; } /// /// 构造函数 /// /// 更新包集合 public UpdateStartedEventArgs(PackageCollection packages) { this.Packages = packages; } } }