Exemplo n.º 1
0
 private static void Load()
 {
     try
     {
         //container = builder.Build();
         _himallIO = ObjectContainer.Current.Resolve <IHimallIO>();
     }
     catch (Exception ex)
     {
         throw new CacheRegisterException("注册缓存服务异常", ex);
     }
     //_himallIO = StrategyMgr.LoadStrategy<IHimallIO>();
 }
Exemplo n.º 2
0
 static HimallIO()
 {
     _himallIO = null;
     Load();
 }