修改板卡
This commit is contained in:
39
DH.Commons/GlobalVar.cs
Normal file
39
DH.Commons/GlobalVar.cs
Normal file
@ -0,0 +1,39 @@
|
||||
|
||||
|
||||
namespace XKRS.Common.Model
|
||||
{
|
||||
public static class GlobalVar
|
||||
{
|
||||
|
||||
//public const string SEPERATOR = "|";
|
||||
|
||||
//public static ContainerBuilder Builder { get; set; } = new ContainerBuilder();
|
||||
|
||||
//private static object containerLock = new object();
|
||||
|
||||
//private static IContainer container = null;
|
||||
//public static IContainer Container
|
||||
//{
|
||||
// get
|
||||
// {
|
||||
// if (container == null)
|
||||
// {
|
||||
// lock (containerLock)
|
||||
// {
|
||||
// if (container == null)
|
||||
// {
|
||||
// container = Builder.Build();
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// return container;
|
||||
// }
|
||||
//}
|
||||
|
||||
//public static void InitialAutoFac()
|
||||
//{
|
||||
// Container = Builder.Build();
|
||||
//}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user