Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var serviceProvider = new ResolverConfig().CreateServiceProvider();

            var service = serviceProvider.GetService <IService>();

            service.Run();
        }