修改了无法保存项目文件的bug

This commit is contained in:
fengjiayi
2024-09-17 14:20:27 +08:00
parent e20855a076
commit afadbc5a95
36 changed files with 3023 additions and 772 deletions

View File

@@ -14,7 +14,17 @@ using Type = System.Type;
namespace Serein.Library.Core.Http
{
/*
Router类负责解析请求的urlurl参数boby参数
根据url
web server 监听类,监听外部的请求
router 选择对应的控制器
agent 负责传入对应的参数,注入依赖
*/
/// <summary>
@@ -22,7 +32,6 @@ namespace Serein.Library.Core.Http
/// </summary>
public class Router
{
private readonly ConcurrentDictionary<string, bool> _controllerAutoHosting; // 存储是否实例化
private readonly ConcurrentDictionary<string, Type> _controllerTypes; // 存储控制器类型
private readonly ConcurrentDictionary<string, object> _controllerInstances; // 存储控制器实例对象