public static void ShowCatalog() { HeaderText headerText = new HeaderText('-', "Catalog") .RunInBetween(PrintEachClient); headerText.Write(); }
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(); }