38 references to ForwardAsSingle
dotnet (38)
Commands\Pack\PackCommandParser.cs (2)
26}.ForwardAsSingle(o => $"-property:PackageOutputPath={CommandDirectoryContext.GetFullPath(o)}"); 82}.ForwardAsSingle(o => $"--property:PackageVersion={o}");
Commands\Package\Add\PackageAddCommandParser.cs (4)
33}.ForwardAsSingle(o => $"--version {o}") 55}.ForwardAsSingle(o => $"--framework {o}"); 67}.ForwardAsSingle(o => $"--source {o}"); 73}.ForwardAsSingle(o => $"--package-directory {o}");
Commands\Package\List\PackageListCommandParser.cs (3)
87}.ForwardAsSingle(o => $"--verbosity:{o}"); 92}.ForwardAsSingle(o => $"--format:{o}"); 97}.ForwardAsSingle(o => $"--output-version:{o}");
Commands\Package\Search\PackageSearchCommandParser.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\PublishCommandParser.cs (1)
31}.ForwardAsSingle(o => $"-property:TargetManifestFiles={string.Join("%3B", o.Select(CommandDirectoryContext.GetFullPath))}")
Commands\Restore\RestoreCommandParser.cs (6)
24}.ForwardAsSingle(o => $"-property:RestoreSources={string.Join("%3B", o)}") 50}.ForwardAsSingle(o => $"-property:NuGetLockFilePath={o}"), 125}.ForwardAsSingle(o => $"-property:RestoreSources={string.Join("%3B", o)}") // '%3B' corresponds to ';' 141}.ForwardAsSingle(o => $"-property:RestorePackagesPath={CommandDirectoryContext.GetFullPath(o)}"); 157}.ForwardAsSingle(o => $"-property:RestoreConfigFile={CommandDirectoryContext.GetFullPath(o)}"); 202}.ForwardAsSingle(RestoreRuntimeArgFunc)
Commands\Store\StoreCommandParser.cs (2)
43}.ForwardAsSingle(o => $"-property:RuntimeFrameworkVersion={o}"); 55}.ForwardAsSingle(o => $"-property:ComposeWorkingDir={CommandDirectoryContext.GetFullPath(o)}");
Commands\Test\TestCommandParser.cs (7)
33}.ForwardAsSingle(o => $"-property:VSTestSetting={SurroundWithDoubleQuotes(CommandDirectoryContext.GetFullPath(o))}"); 45}.ForwardAsSingle(o => $"-property:VSTestTestCaseFilter={SurroundWithDoubleQuotes(o!)}"); 51}.ForwardAsSingle(o => $"-property:VSTestTestAdapterPath={SurroundWithDoubleQuotes(string.Join(";", o!.Select(CommandDirectoryContext.GetFullPath)))}") 58}.ForwardAsSingle(o => 78.ForwardAsSingle(o => $"-property:VSTestDiag={SurroundWithDoubleQuotes(CommandDirectoryContext.GetFullPath(o))}"); 90}.ForwardAsSingle(o => $"-property:VSTestResultsDirectory={SurroundWithDoubleQuotes(CommandDirectoryContext.GetFullPath(o))}"); 96}.ForwardAsSingle(o => $"-property:VSTestCollect=\"{string.Join(";", GetSemiColonEscapedArgs(o!))}\"")
CommonOptions.cs (8)
149.ForwardAsSingle(o => $"--verbosity:{o}") 158.ForwardAsSingle(o => $"--verbosity:{o}") 168.ForwardAsSingle(o => $"--verbosity:{o}") 178.ForwardAsSingle(o => $"--property:TargetFramework={o}"); 187}.ForwardAsSingle(o => $"--property:ArtifactsPath={CommandDirectoryContext.GetFullPath(o)}"); 228}.ForwardAsSingle(o => $"--property:Configuration={o}") 236}.ForwardAsSingle(o => $"--property:VersionSuffix={o}"); 285public static Option<bool> InteractiveMsBuildForwardOption = InteractiveOption(acceptArgument: true).ForwardAsSingle(b => $"--property:NuGetInteractive={(b ? "true" : "false")}");