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

            CommandStatus status = command.Execute();

            return(GetExitCode(status));
        }
Ejemplo 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);
        }
Ejemplo n.º 3
0
        private static int ListVisualStudio(ListVisualStudioCommandLineOptions options)
        {
            var command = new ListVisualStudioCommand(options);

            CommandResult result = command.Execute();

            return(GetExitCode(result));
        }