From 14fe35fa249082130b534243e312cd128d585f8a Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期一, 12 五月 2025 15:04:07 +0800
Subject: [PATCH] 优化了一些已知问题

---
 Tiger.Api/Autofac/AutoFacContianer.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Tiger.Api/Autofac/AutoFacContianer.cs b/Tiger.Api/Autofac/AutoFacContianer.cs
index 3ce35cd..cdd8036 100644
--- a/Tiger.Api/Autofac/AutoFacContianer.cs
+++ b/Tiger.Api/Autofac/AutoFacContianer.cs
@@ -107,5 +107,10 @@
         {
             return AutoFacContainer.Instance.Resolve<T>();
         }
+
+        public static dynamic Resolve(string typeFullName)
+        {
+            return AutoFacContainer.Instance.Resolve(System.Type.GetType(typeFullName, true));
+        }
     }
 }

--
Gitblit v1.9.3