private static void Load() { try { Spider = EngineContext.Current.Resolve <IMallSpider>(); } catch (Exception ex) { throw new CacheRegisterException("注册淘宝天猫数据抓取服务异常", ex); } }
static MallSpider() { Spider = null; Load(); }