static int Main(string[] args) { Thread.CurrentThread.Name = "NL.Server"; NLConsole.Clear(); NLConsole.Title(UIStrings.NLConsoleTitle); NLConsole.StartCommandLine(); FileService.HashRepository(); NLConsole.AddController(new AdminController()); NLConsole.AddController(new QueryController()); foreach (String command in ServerConfiguration.StartUpCommands) { NLConsole.InvokeConsoleCommand(command); } Close(); return(0); }
private Boolean ClearConsole(String[] parameters) { NLConsole.Clear(); return(true); }