Exemplo n.º 1
0
        private static int Main(string[] args)
        {
            var runner = new TaskRunner();

            try
            {
                if (args.Length < 1)
                {
                    Usage();
                    return(1);
                }


                if (!runner.Run(args))
                {
                    return(1);
                }
            }
            catch (Exception ex)
            {
                LogFile.Error(ex.ToString());
                return(1);
            }

            return(0);
        }
Exemplo n.º 2
0
        private static void Main(string[] args)
        {
            MediaLibrary.LoadAll();
            var runner = new TaskRunner();

            try
            {
                if (!runner.Run(args))
                {
                    Usage();
                    return;
                }
            }
            catch (Exception ex)
            {
                LogFile.Error(ex.ToString());
            }
        }
Exemplo n.º 3
0
    private static void Main(string[] args)
    {
      MediaLibrary.LoadAll();
      var runner = new TaskRunner();

      try
      {
        if (!runner.Run(args))
        {
          Usage();
          return;
        }
      }
      catch (Exception ex)
      {
        LogFile.Error(ex.ToString());
      }
    }