update CliCommandLine, other code changes

This commit is contained in:
Jon Sequeira 2017-03-12 15:06:34 -07:00
parent 5c4db56d3b
commit a6c2b6c9f6
11 changed files with 77 additions and 32 deletions

View file

@ -20,12 +20,19 @@ namespace Microsoft.DotNet.Tools.Add.ProjectToProjectReference
private readonly AppliedOption _appliedCommand;
private readonly string _fileOrDirectory;
public AddProjectToProjectReferenceCommand(AppliedOption appliedCommand, string fileOrDirectory)
public AddProjectToProjectReferenceCommand(
AppliedOption appliedCommand,
string fileOrDirectory)
{
if (appliedCommand == null)
{
throw new ArgumentNullException(nameof(appliedCommand));
}
if (fileOrDirectory == null)
{
throw new ArgumentNullException(nameof(fileOrDirectory));
}
_appliedCommand = appliedCommand;
_fileOrDirectory = fileOrDirectory;
}