13 references to PsCommandStrings
aspire (13)
Commands\PsCommand.cs (12)
52
Description =
PsCommandStrings
.JsonOptionDescription
63
: base("ps",
PsCommandStrings
.Description, features, updateNotifier, executionContext, interactionService, telemetry)
89
PsCommandStrings
.ScanningForRunningAppHosts,
105
_interactionService.DisplayMessage("information",
PsCommandStrings
.NoRunningAppHostsFound);
156
info.AppHostPath ??
PsCommandStrings
.UnknownPath,
210
var pathWidth = Math.Max(
PsCommandStrings
.HeaderPath.Length, shortPaths.Max(p => p.Length));
211
var pidWidth = Math.Max(
PsCommandStrings
.HeaderPid.Length, appHosts.Max(a => a.AppHostPid.ToString(CultureInfo.InvariantCulture).Length));
212
var cliPidWidth = Math.Max(
PsCommandStrings
.HeaderCliPid.Length, appHosts.Max(a => a.CliPid?.ToString(CultureInfo.InvariantCulture).Length ?? NullCliPidDisplay.Length));
215
var header = $"{
PsCommandStrings
.HeaderPath.PadRight(pathWidth)} {
PsCommandStrings
.HeaderPid.PadRight(pidWidth)} {
PsCommandStrings
.HeaderCliPid.PadRight(cliPidWidth)} {
PsCommandStrings
.HeaderDashboard}";
Resources\PsCommandStrings.Designer.cs (1)
31
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.PsCommandStrings", typeof(
PsCommandStrings
).Assembly);