diff --git a/Netch/Controllers/Guard.cs b/Netch/Controllers/Guard.cs index e599169b..71f23ac4 100644 --- a/Netch/Controllers/Guard.cs +++ b/Netch/Controllers/Guard.cs @@ -83,7 +83,7 @@ namespace Netch.Controllers /// 仅初始化 ,不设定事件处理方法 /// /// - protected void InitInstance(string argument) + protected virtual void InitInstance(string argument) { Instance = new Process { diff --git a/Netch/Controllers/IController.cs b/Netch/Controllers/IController.cs index b829a199..2eb3b29b 100644 --- a/Netch/Controllers/IController.cs +++ b/Netch/Controllers/IController.cs @@ -10,6 +10,6 @@ /// /// 停止 /// - public abstract void Stop(); + public void Stop(); } } \ No newline at end of file