Applied expression bodies for methods to solution.
This commit is contained in:
parent
c9ab438e6c
commit
67cbc0dd65
36 changed files with 106 additions and 378 deletions
|
@ -28,10 +28,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
return this;
|
||||
}
|
||||
|
||||
public StoreCommand WithFramework(NuGetFramework framework)
|
||||
{
|
||||
return WithFramework(framework.GetShortFolderName());
|
||||
}
|
||||
public StoreCommand WithFramework(NuGetFramework framework) => WithFramework(framework.GetShortFolderName());
|
||||
|
||||
public StoreCommand WithOutput(string output)
|
||||
{
|
||||
|
@ -69,16 +66,13 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
return base.ExecuteWithCapturedOutput(args);
|
||||
}
|
||||
|
||||
private string BuildArgs()
|
||||
{
|
||||
return string.Join(" ",
|
||||
private string BuildArgs() => string.Join(" ",
|
||||
ProfileProjectOption,
|
||||
FrameworkOption,
|
||||
OutputOption,
|
||||
IntermediateWorkingDirectoryOption,
|
||||
RuntimeOption,
|
||||
FrameworkVersionOption);
|
||||
}
|
||||
|
||||
private string ProfileProjectOption => string.Join(" ", _profileProject) ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue