Exemplo n.º 1
0
        public static void ShowCatalog()
        {
            HeaderText headerText = new HeaderText('-', "Catalog")
                                    .RunInBetween(PrintEachClient);

            headerText.Write();
        }
Exemplo n.º 2
0
        public static void Run(string patternName)
        {
            IDesignPatternClient client     = RetrieveClient(patternName)();
            HeaderText           headerText = new HeaderText('-', client.Name)
                                              .RunInBetween(client.Main);

            headerText.Write();

            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
        }