11 references to ForwardAsMany
dotnet (11)
Commands\Package\List\PackageListCommandParser.cs (1)
66
}.
ForwardAsMany
(o => ["--config", o]);
Commands\Store\StoreCommandParser.cs (1)
23
}.
ForwardAsMany
(o =>
Commands\Test\TestCommandParser.cs (3)
120
.
ForwardAsMany
(o => ["-property:VSTestBlameCrash=true", $"-property:VSTestBlameCrashDumpType={o}"]);
146
.
ForwardAsMany
(o => ["-property:VSTestBlameHang=true", $"-property:VSTestBlameHangDumpType={o}"]);
155
}.
ForwardAsMany
(o => ["-property:VSTestBlameHang=true", $"-property:VSTestBlameHangTimeout={o}"]);
CommonOptions.cs (5)
79
.
ForwardAsMany
(targets => ForwardTargetsAndAdditionalProperties(targets, additionalProperties))
93
.
ForwardAsMany
(targets => ForwardTargetsAndAdditionalProperties(targets, additionalProperties))
125
.
ForwardAsMany
(xs => (xs ?? []).Select(x => $"--{name}:{x}"))
206
}.
ForwardAsMany
(RuntimeArgFunc!)
213
}.
ForwardAsMany
(RuntimeArgFunc!)
Extensions\OptionForwardingExtensions.cs (1)
98
public static Option<IEnumerable<string>> ForwardAsManyArgumentsEachPrefixedByOption(this ForwardedOption<IEnumerable<string>> option, string alias) => option.
ForwardAsMany
(o => ForwardedArguments(alias, o));