AbstractDataStructures.PhonebookAppEntryPoint.ExecuteCommands(Phonebook, string)

Here are the examples of the csharp api class AbstractDataStructures.PhonebookAppEntryPoint.ExecuteCommands(Phonebook, string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
public static void Main()
        {
            var phoneTextFileContent = ConsoleUtility.GetFileTextContent("../../phones.txt");
            var commandsTextFileContent = ConsoleUtility.GetFileTextContent("../../commands.txt");
            var subcribers = ExtractSubscribers(phoneTextFileContent);

            Phonebook phoneBook = new Phonebook(subcribers);
            AddSubscribersToPhonebook(phoneBook);

            Console.WriteLine(phoneBook);
            Console.WriteLine(new string('-', 33) + "SEARCH RESULTS:" + new string('-', 32) + Environment.NewLine);
            ExecuteCommands(phoneBook, commandsTextFileContent);
        }