Esempio n. 1
0
        static void Main(string[] args)
        {
            var testRunner = new TestRunner();

            CompositionServices.ComposeParts(testRunner);

            testRunner.RunTests();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var duck = new Duck();

            CompositionServices.ComposeParts(duck);

            duck.MakeSound();

            Console.Read();
        }