Пример #1
0
        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();
        }
Пример #2
0
 public SinaUnitTest()
 {
     _futureMarket = new SinaFutureMarket();
 }