using System;
namespace Update.Core.Events
{
///
/// 进度事件类型
///
///
///
public delegate void ProgressEventHandler(object sender, ProgressEventArgs e);
///
/// 进度数据
///
public class ProgressEventArgs : EventArgs
{
///
/// 百分比
///
public int ProgressPercentage { get; private set; }
///
/// 构造函数
///
/// 进度百分比
public ProgressEventArgs(int progressPercentage)
{
this.ProgressPercentage = progressPercentage;
}
}
}