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