예제 #1
0
 static void Main(string[] args)
 {
     try
     {
         Argument arguments = new Argument(args);
         if (arguments.Validate())
             Work(arguments);
     }
     catch (Exception ex)
     {
         System.Console.WriteLine(ex.Message);
     }
 }
예제 #2
0
 static void Main(string[] args)
 {
     try
     {
         Argument arguments = new Argument(args);
         if (arguments.Validate())
         {
             Work(arguments);
         }
     }
     catch (Exception ex)
     {
         System.Console.WriteLine(ex.Message);
     }
 }
예제 #3
0
        static int Main(string[] args)
        {
            bool completedSuccessfully = false;
            try
            {
                Argument arguments = new Argument(args);
                if (arguments.Validate())
                    completedSuccessfully = Work(arguments);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }

            return completedSuccessfully ? 0 : 1;
        }
예제 #4
0
파일: Program.cs 프로젝트: yyrj/OpenDBDiff
        static int Main(string[] args)
        {
            bool completedSuccessfully = false;

            try
            {
                Argument arguments = new Argument(args);
                if (arguments.Validate())
                {
                    completedSuccessfully = Work(arguments);
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }

            return(completedSuccessfully ? 0 : 1);
        }