static void start() { DConsole.Print("ScopeName: "); string input = DConsole.ReadLine(); ScopeName = input; cfgSQLConnectionString_InFlow = string.Format(cfgSQLConnectionString_InFlow, ScopeName); DConsole.Print("init? (yes/no)"); string init = DConsole.ReadLine(); if (init.Equals("yes")) { setUpScope(); } else { listCompanyScopes(); } DConsole.Print("clean? (yes/no)"); string clean = DConsole.ReadLine(); if (clean.Equals("yes")) { cleanScope(); } Console.ReadLine(); }
public string ReadLine(int timeOutMillisecs = Timeout.Infinite) => DConsole.ReadLine(timeOutMillisecs);