Пример #1
0
        static void Main(string[] args)
        {
            ContainerBuilder builder = new ContainerBuilder();

            builder.RegisterType <Spider>().As <ISpider>();
            var     container = builder.Build();
            ISpider spider    = container.Resolve <ISpider>();

            spider.Crawl();

            Console.Read();
        }