private void OnRememberFriendsError(RememberFriendsError msg) { Context.ActorSelection("/user/Application/io/Out").Tell(msg); Become(Wait); Context.ActorSelection("/user/Application/io/In").Tell(new ReadUserInput()); }
private void OnRememberFriendsError(RememberFriendsError msg) { Console.WriteLine(); Console.ForegroundColor = ConsoleColor.Magenta; Console.Write("Hey "); Console.ForegroundColor = ConsoleColor.Green; Console.Write(msg.OwnerName); Console.ForegroundColor = ConsoleColor.Magenta; Console.WriteLine(", you are alone, ALONE!!!"); Console.ResetColor(); Console.WriteLine(); Console.WriteLine("Press any key to continue..."); }