Beispiel #1
0
        private static void Load()
        {
            try
            {
                //container = builder.Build();
                //   IO =  EngineContext.Current.Resolve<IMallIO>();

                IO = EngineContext.Current.Resolve <IMallIO>();
            }
            catch (Exception ex)
            {
                throw new CacheRegisterException("注册缓存服务异常", ex);
            }
            //IO = StrategyMgr.LoadStrategy<IMallIO>();
        }
Beispiel #2
0
 static MallIO()
 {
     IO = null;
     Load();
 }