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