5 references to CommandType
dotnet (5)
Commands\Solution\Add\SolutionAddCommand.cs (1)
47SolutionArgumentValidator.ParseAndValidateArguments(_fileOrDirectory, _projects, SolutionArgumentValidator.CommandType.Add, _inRoot, _solutionFolderPath);
Commands\Solution\Remove\SolutionRemoveCommand.cs (1)
25SolutionArgumentValidator.ParseAndValidateArguments(_fileOrDirectory, _projects, SolutionArgumentValidator.CommandType.Remove);
Commands\Solution\SolutionArgumentValidator.cs (3)
19public static void ParseAndValidateArguments(string _fileOrDirectory, IReadOnlyCollection<string> _arguments, CommandType commandType, bool _inRoot = false, string relativeRoot = null) 23string message = commandType == CommandType.Add ? CliStrings.SpecifyAtLeastOneProjectToAdd : CliStrings.SpecifyAtLeastOneProjectToRemove; 53string command = commandType == CommandType.Add ? "add" : "remove";