xiaojiao
2025-12-26 4279cb4384f7f960d87af8b8ad9db73c2dececa3
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;
        }
    }
}