コード例 #1
0
ファイル: Executive.cs プロジェクト: prmk/CodeAnalyzer
        static void Main(string[] args)
        {
            Executive ex = new Executive();
            ex.Args = args;
            ex.runExecutive();

            Console.WriteLine("\n\nPress any key to continue");
            Console.ReadLine();
        }
コード例 #2
0
        //Entry point of the code analyzer tool
        static void Main(string[] args)
        {
            Executive mainExecutive = new Executive();

            try
            {
                if (args.Length == 0)
                {
                    mainExecutive.dislayInstance.displayNoInput();
                }
                else
                {
                    mainExecutive.Args = args;
                    mainExecutive.startExecutive();
                }
            }
            catch
            {
                Console.WriteLine("Error in execution. Check the input arguments");
            }
        }