refactor: Add in keyword as need

This commit is contained in:
ChsBuffer
2020-10-17 17:18:40 +08:00
parent b54bc6fa40
commit f8299fb7be
23 changed files with 25 additions and 25 deletions

View File

@@ -13,10 +13,10 @@ namespace Netch.Controllers
/// <summary>
/// 启动
/// </summary>
/// <param name="server">服务器</param>
/// <param name="s">服务器</param>
/// <param name="mode">模式</param>
/// <returns>是否启动成功</returns>
public abstract bool Start(Server server, Mode mode);
public abstract bool Start(in Server s, in Mode mode);
}
public static class ServerControllerExtension