Ejemplo n.º 1
0
 private static int Main(string[] args)
 {
     SetUpErrorHandling();
     var pathname = args[0];
     using (var prog = new LoggingProgress())
     {
         var data = new FwDataFixer(pathname, prog, logError, getErrorCount);
         data.FixErrorsAndSave();
     }
     return errorsOccurred ? 1 : 0;
 }
Ejemplo n.º 2
0
        private static int Main(string[] args)
        {
            SetUpErrorHandling();
            var pathname = args[0];

            using (var prog = new LoggingProgress())
            {
                var data = new FwDataFixer(pathname, prog, logError, getErrorCount);
                data.FixErrorsAndSave();
            }
            return(errorsOccurred ? 1 : 0);
        }