37 references to ForwardAsSingle
Microsoft.DotNet.Cli.Definitions (37)
Commands\Pack\PackCommandDefinition.cs (2)
28}.ForwardAsSingle(o => $"-property:PackageOutputPath={CommandDirectoryContext.GetFullPath(o)}"); 91}.ForwardAsSingle(o => $"--property:PackageVersion={o}");
Commands\Package\PackageAddCommandDefinition.cs (4)
25}.ForwardAsSingle(o => $"--version {o}"); 37}.ForwardAsSingle(o => $"--framework {o}"); 49}.ForwardAsSingle(o => $"--source {o}"); 55}.ForwardAsSingle(o => $"--package-directory {o}");
Commands\Package\PackageListCommandDefinition.cs (3)
93}.ForwardAsSingle(o => $"--verbosity:{o}"); 98}.ForwardAsSingle(o => $"--format:{o}"); 103}.ForwardAsSingle(o => $"--output-version:{o}");
Commands\Package\PackageSearchCommandDefinition.cs (5)
31}.ForwardAsSingle(o => $"--take:{o}"); 37}.ForwardAsSingle(o => $"--skip:{o}"); 57}.ForwardAsSingle(o => $"--configfile:{o}"); 63}.ForwardAsSingle(o => $"--format:{o}"); 69}.ForwardAsSingle(o => $"--verbosity:{o}");
Commands\Publish\PublishCommandDefinition.cs (1)
32}.ForwardAsSingle(o => $"-property:TargetManifestFiles={string.Join("%3B", o.Select(CommandDirectoryContext.GetFullPath))}")
Commands\Restore\RestoreCommandDefinition.cs (2)
50}.ForwardAsSingle(o => $"-property:NuGetLockFilePath={o}"); 120}.ForwardAsSingle(RestoreRuntimeArgFunc)
Commands\Test\TestCommandDefinition.VSTest.cs (7)
18}.ForwardAsSingle(o => $"-property:VSTestSetting={MSBuildPropertyParser.SurroundWithDoubleQuotes(CommandDirectoryContext.GetFullPath(o))}"); 32}.ForwardAsSingle(o => $"-property:VSTestTestCaseFilter={MSBuildPropertyParser.SurroundWithDoubleQuotes(o!)}"); 38}.ForwardAsSingle(o => $"-property:VSTestTestAdapterPath={MSBuildPropertyParser.SurroundWithDoubleQuotes(string.Join(";", o!.Select(CommandDirectoryContext.GetFullPath)))}") 45}.ForwardAsSingle(o => 66.ForwardAsSingle(o => $"-property:VSTestDiag={MSBuildPropertyParser.SurroundWithDoubleQuotes(CommandDirectoryContext.GetFullPath(o))}"); 84}.ForwardAsSingle(o => $"-property:VSTestResultsDirectory={MSBuildPropertyParser.SurroundWithDoubleQuotes(CommandDirectoryContext.GetFullPath(o))}"); 90}.ForwardAsSingle(o => $"-property:VSTestCollect=\"{string.Join(";", GetSemiColonEscapedArgs(o!))}\"")
Commands\Tool\StoreCommandDefinition.cs (2)
43}.ForwardAsSingle(o => $"-property:RuntimeFrameworkVersion={o}"); 55}.ForwardAsSingle(o => $"-property:ComposeWorkingDir={CommandDirectoryContext.GetFullPath(o)}");
Common\CommonOptions.cs (8)
148.ForwardAsSingle(o => $"--verbosity:{o}") 157.ForwardAsSingle(o => $"--verbosity:{o}") 167.ForwardAsSingle(o => $"--verbosity:{o}") 179.ForwardAsSingle(o => $"--property:TargetFramework={o}"); 188}.ForwardAsSingle(o => $"--property:ArtifactsPath={CommandDirectoryContext.GetFullPath(o)}"); 205}.ForwardAsSingle(o => $"--property:Configuration={o}"); 212}.ForwardAsSingle(o => $"--property:VersionSuffix={o}"); 263.ForwardAsSingle(b => $"--property:NuGetInteractive={(b ? "true" : "false")}");
Common\ImplicitRestoreOptions.cs (3)
33}.ForwardAsSingle(o => $"-property:RestorePackagesPath={CommandDirectoryContext.GetFullPath(o)}"); 49}.ForwardAsSingle(o => $"-property:RestoreConfigFile={CommandDirectoryContext.GetFullPath(o)}"); 94}.ForwardAsSingle(o => $"-property:RestoreSources={string.Join("%3B", o)}")