private static void DisplayMenu() { Console.WriteLine("What-do you want to do ?"); var isP2PNetworkRunning = _nodeLauncher.IsP2PNetworkRunning(); if (isP2PNetworkRunning) { DisplayConnected(); } else { DisplayDisconnected(); } }
public static void DisplayFullNodeMenu() { MenuHelper.DisplayMenuItem("What-do you want to do ?"); var isP2PNetworkRunning = _nodeLauncher.IsP2PNetworkRunning(); if (isP2PNetworkRunning) { DisplayP2PNetworkRunningMenu(); } else { DisplayP2PNetworkNotRunningMenu(); } }