コード例 #1
0
        static void Main()
        {
            ConsoleX.WriteTitle("MS SQL CLR Assembly Extractor");

            Handler.AddCommands(new ICommandContainer[] { new ProgramCommands() });

            ConsoleX.WriteLine("Use the commands to build a connection string", ConsoleX.MessageStatus.Info);

            ConsoleX.WriteLine("Once complete use -c to return to the exporter.", ConsoleX.MessageStatus.Info);

            Handler.Execute("-bc");

            Handler.Listen();
        }
コード例 #2
0
		public static void ShowStartUpMessage(ConsoleX consoleX)
		{
			// Display application title
			consoleX.WriteTitle("RBC Console, application for interfacing with RBC South Wales and Gloucestershire database");
			consoleX.WriteLine("Enter a command to start (e.g. 'help')");
		}