Beispiel #1
0
        private static void WithoutUsingContainer()
        {
            IGreetingService service = new GreetingService();
            var controller           = new HelloController(service);
            var greeting             = controller.Action("Matthias");

            Console.WriteLine(greeting);
        }