Esempio n. 1
0
        private static int ListVisualStudio(ListVisualStudioCommandLineOptions options)
        {
            var command = new ListVisualStudioCommand(options);

            CommandStatus status = command.Execute();

            return(GetExitCode(status));
        }
Esempio n. 2
0
        private static int ListVisualStudio(ListVisualStudioCommandLineOptions options)
        {
            var command = new ListVisualStudioCommand(options);

            CommandResult result = command.Execute();

            return((result.Kind == CommandResultKind.Success) ? 0 : 1);
        }
Esempio n. 3
0
        private static int ListVisualStudio(ListVisualStudioCommandLineOptions options)
        {
            var command = new ListVisualStudioCommand(options);

            CommandResult result = command.Execute();

            return(GetExitCode(result));
        }