private void OnRememberFriendsSuccesfully(RememberFriendsSuccesfully msg) { Context.ActorSelection("/user/Application/io/Out").Tell(msg); Become(Wait); Context.ActorSelection("/user/Application/io/In").Tell(new ReadUserInput()); }
private void OnRememberFriendsSuccesfully(RememberFriendsSuccesfully msg) { foreach (string friendName in msg.Friends) { Console.WriteLine(friendName); } Console.ResetColor(); Console.WriteLine(); Console.WriteLine("Press any key to continue..."); }