/// <summary> /// Main method. Starts application. /// </summary> private static void Main() { var app = new PersonalFezisstant(); var commandProcessor = new ApplicationCommandProcessor(app); app.StartIrcClient(); do { var cmd = Console.ReadLine(); commandProcessor.Process(cmd); }while (app.IsRunning); Log.Information("Exiting PersonalFezisstant"); Environment.Exit(0); }
public ApplicationCommandProcessor(PersonalFezisstant app) { PFApp = app; }