/// <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>();
}
}