mirror of
https://github.com/netchx/netch.git
synced 2026-04-19 21:19:01 +08:00
基本完成重构 Controller
This commit is contained in:
15
Netch/Controllers/Interface/ModeController.cs
Normal file
15
Netch/Controllers/Interface/ModeController.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Netch.Models;
|
||||
|
||||
namespace Netch.Controllers
|
||||
{
|
||||
public abstract class ModeController : Controller
|
||||
{
|
||||
/// <summary>
|
||||
/// 启动
|
||||
/// </summary>
|
||||
/// <param name="server">服务器</param>
|
||||
/// <param name="mode">模式</param>
|
||||
/// <returns>是否成功</returns>
|
||||
public abstract bool Start(Server server, Mode mode);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user