AutofacContainer

    /// <summary>
/// Autofac容器
/// </summary>
public class AutofacContainer
{
public static IContainer Container { get; private set; } public static void Set(IContainer c)
{
Container = c;
} public static T Resolve<T>()
{
return Container.Resolve<T>();
}
}
上一篇:MyEclipse8.5快速搭建SSH框架


下一篇:javascript 数组的常用操作函数