예제 #1
0
        private int HandleSCMOptions(SCMOptions sCmOptions)
        {
            SetVerboseLevel(sCmOptions.VerboseLevel);
            Reporter.ToLog(eLogLevel.INFO, "Running SCM options");
            CLISCM cliSCM = new CLISCM();

            cliSCM.Download(sCmOptions);
            return(Environment.ExitCode);
        }
예제 #2
0
 private async Task <int> HandleSCMOptions(SCMOptions sCmOptions)
 {
     return(await Task.Run(() =>
     {
         SetVerboseLevel(sCmOptions.VerboseLevel);
         Reporter.ToLog(eLogLevel.INFO, "Running SCM options");
         CLISCM cliSCM = new CLISCM();
         cliSCM.Download(sCmOptions);
         return Environment.ExitCode;
     }));
 }