static void Main(string[] args) { Configuration.Create() .UseAutofac() .RegisterComponents() .RegisterUnhandledExceptionHandler() .BuildContainer(); _futureMarket = new SinaFutureMarket(); //var infos = _futureMarket.GetFutures(); _futureRepository = new FutureRepository(); //_futureRepository.InsertMany(infos); Console.WriteLine("ok"); Console.ReadKey(); }
public SinaUnitTest() { _futureMarket = new SinaFutureMarket(); }