From 201b456883c4d4799561fd17acec3f8c2111445f Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期一, 29 七月 2024 18:09:22 +0800
Subject: [PATCH] 获取过程变量优化

---
 Tiger.Business/BizContext.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Tiger.Business/BizContext.cs b/Tiger.Business/BizContext.cs
index f864228..d4fdd5a 100644
--- a/Tiger.Business/BizContext.cs
+++ b/Tiger.Business/BizContext.cs
@@ -92,5 +92,10 @@
         {
             return BizContext.Container.Resolve<T>();
         }
+
+        public static dynamic Resolve(string typeFullName)
+        {
+            return BizContext.Container.Resolve(System.Type.GetType(typeFullName, true));
+        }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3