Run() public méthode

public Run ( ) : void
Résultat void
Exemple #1
0
        private static void Main2(FundArguments lParsedCmdArgs)
        {
            if (lParsedCmdArgs.Diagnostic)
            {
                Console.WriteLine();
                Console.WriteLine("DIAGNOSTIC MODE");
                Console.WriteLine();

                throw new NotImplementedException();
            }
            else if (lParsedCmdArgs.ConfigurationFilename != null)
            {
                Fund.ConsoleApp.Run(lParsedCmdArgs.ConfigurationFilename);
            }
            else
            {
                Console.WriteLine();
                Console.WriteLine("PLAYGROUND MODE");
                Console.WriteLine();
                var p = new Playground();
                p.Run();
            }

            Console.WriteLine();
            Console.WriteLine();
            Console.WriteLine("Finished");

            if (!lParsedCmdArgs.Quiet)
            {
                Console.WriteLine("Press Enter to quit");
                Console.ReadLine();
            }
        }
        private static void Main2(FundArguments lParsedCmdArgs)
        {
            if (lParsedCmdArgs.Diagnostic)
            {
                Console.WriteLine();
                Console.WriteLine("DIAGNOSTIC MODE");
                Console.WriteLine();

                throw new NotImplementedException();
            }
            else if (lParsedCmdArgs.ConfigurationFilename != null)
            {
                Fund.ConsoleApp.Run(lParsedCmdArgs.ConfigurationFilename);
            }
            else
            {
                Console.WriteLine();
                Console.WriteLine("PLAYGROUND MODE");
                Console.WriteLine();
                var p = new Playground();
                p.Run();
            }

            Console.WriteLine();
            Console.WriteLine();
            Console.WriteLine("Finished");

            if (!lParsedCmdArgs.Quiet)
            {
                Console.WriteLine("Press Enter to quit");
                Console.ReadLine();
            }
        }
Exemple #3
0
        private static void Main2(FundArguments lParsedCmdArgs)
        {
            if (lParsedCmdArgs.Diagnostic != null)
            {
                Console.WriteLine();
                Console.WriteLine("DIAGNOSTIC MODE");
                Console.WriteLine();

                LongtermDiagnosticOutput.Run(lParsedCmdArgs.Diagnostic);
            }
            else
            {
                Console.WriteLine();
                Console.WriteLine("PLAYGROUND MODE");
                Console.WriteLine();
                var p = new Playground();
                p.Run();
            }

            Console.WriteLine();
            Console.WriteLine();
            Console.WriteLine("Finished");

            if (!lParsedCmdArgs.Quiet)
            {
                Console.WriteLine("Press Enter to quit");
                Console.ReadLine();
            }
        }
Exemple #4
0
        private static void Main2(FundArguments lParsedCmdArgs)
        {
            if (lParsedCmdArgs.Diagnostic != null)
            {
                Console.WriteLine();
                Console.WriteLine("DIAGNOSTIC MODE");
                Console.WriteLine();

                LongtermDiagnosticOutput.Run(lParsedCmdArgs.Diagnostic);
            }
            else
            {
                Console.WriteLine();
                Console.WriteLine("PLAYGROUND MODE");
                Console.WriteLine();
                var p = new Playground();
                p.Run();
            }

            Console.WriteLine();
            Console.WriteLine();
            Console.WriteLine("Finished");

            if (!lParsedCmdArgs.Quiet)
            {
                Console.WriteLine("Press Enter to quit");
                Console.ReadLine();
            }
        }