Exemplo n.º 1
0
        //----< sets urls from CommandLine if defined there >----------------

        public void processCommandLine(string[] args)
        {
            if (args.Length > 0)
            {
                LocalURL  = UtilityMethods.processCommandLineForLocal(args, LocalURL);
                RemoteURL = UtilityMethods.processCommandLineForRemote(args, RemoteURL);
            }
        }
        //----< retrieve urls from the CommandLine if there are any >--------

        public void processCommandLine(string[] args)
        {
            if (args.Length == 0)
            {
                return;
            }
            LocalURL  = UtilityMethods.processCommandLineForLocal(args, LocalURL);
            RemoteURL = UtilityMethods.processCommandLineForRemote(args, RemoteURL);
            if (args[2].ToUpper() == "T")
            {
                LogMessages = true;        //
            }
            if (args[2].ToUpper() == "F")  // sets the LogMessages according to commandline argument. If yes, sent messages are displayed on console.
            {
                LogMessages = false;
            }
        }