using System;
namespace Update.Core.Events
{
///
/// 通知事件类型
///
///
///
public delegate void NotifyEventHandler(object sender, NotifyEventArgs e);
///
/// 通知事件数据
///
public class NotifyEventArgs : EventArgs
{
///
/// 通知信息
///
public string Info { get; private set; }
///
/// 构造函数
///
///
public NotifyEventArgs(string info)
{
this.Info = info;
}
///
/// 构造函数
///
///
///
public NotifyEventArgs(string format, params object[] args)
{
this.Info = string.Format(format, args);
}
}
}