分支自 SuZhouGuanHong/TaiYuanTaiZhong

PCS
dengjunjie
2024-01-16 e3a2ea164fa3ccde6a1dfc24e99d4eb9b065f69b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using WIDESEA_Core.Extensions;
using System;
using WIDESEA_Core.Configuration;
 
namespace WIDESEA_Core.Extensions.AutofacManager
{
    public class AutofacContainerModule
    {
        public static TService GetService<TService>() where TService:class
        {
            return typeof(TService).GetService() as TService;
        }
    }
}