7 references to s_allOption
aspire (7)
Commands\StopCommand.cs (6)
100
Options.Add(
s_allOption
);
124
var stopAll = parseResult.GetValue(
s_allOption
);
139
return CommandResult.Failure(CompleteStopActivity(activity, CliExitCodes.InvalidCommand), string.Format(CultureInfo.CurrentCulture, StopCommandStrings.AllAndProjectMutuallyExclusive, s_pidOption.Name, stopAll ?
s_allOption
.Name : force ? s_forceOption.Name : s_volumesOption.Name));
150
return CommandResult.Failure(CompleteStopActivity(activity, CliExitCodes.FailedToFindProject), string.Format(CultureInfo.InvariantCulture, StopCommandStrings.AllAndProjectMutuallyExclusive,
s_allOption
.Name, s_appHostOption.Name));
155
return CommandResult.Failure(CompleteStopActivity(activity, CliExitCodes.InvalidCommand), string.Format(CultureInfo.InvariantCulture, StopCommandStrings.AllAndProjectMutuallyExclusive,
s_allOption
.Name, s_forceOption.Name));
342
InteractionService.DisplayError(string.Format(CultureInfo.InvariantCulture, StopCommandStrings.MultipleAppHostsNonInteractive, s_appHostOption.Name,
s_allOption
.Name));
Commands\StopCommand.TrayProtocol.cs (1)
59
parseResult.GetResult(
s_allOption
) is { Implicit: false } ||