using System.ComponentModel; namespace Update.Net.Events { /// /// 结束进程工作委托 /// /// 参数 public delegate void KillProcessStartDelegate(KillProcessStartArgs e); /// /// 结束进程工作参数 /// public class KillProcessStartArgs { /// /// 异步操作生存期 /// public AsyncOperation Operation { get; private set; } /// /// 进程所在目录 /// public string Directory { get; private set; } /// /// 构造函数 /// /// 异步操作生存期 /// 进程所在目录 public KillProcessStartArgs(AsyncOperation asyncOp, string directory) { this.Operation = asyncOp; this.Directory = directory; } } }