40 references to DashboardCommandStrings
aspire (30)
Commands\DashboardCommand.cs (1)
18
: base("dashboard",
DashboardCommandStrings
.Description, services)
Commands\DashboardRunCommand.cs (23)
30
protected override string CancellationMessage =>
DashboardCommandStrings
.StoppingDashboard;
40
Description =
DashboardCommandStrings
.FrontendUrlOptionDescription
45
Description =
DashboardCommandStrings
.OtlpGrpcUrlOptionDescription
50
Description =
DashboardCommandStrings
.OtlpHttpUrlOptionDescription
59
Description =
DashboardCommandStrings
.AllowAnonymousOptionDescription
64
Description =
DashboardCommandStrings
.ApplicationNameOptionDescription
69
Description =
DashboardCommandStrings
.PersistenceModeOptionDescription
74
Description =
DashboardCommandStrings
.ConfigFilePathOptionDescription
84
: base("run",
DashboardCommandStrings
.RunDescription, services)
108
return CommandResult.Failure(CliExitCodes.DashboardFailure,
DashboardCommandStrings
.BundleLayoutNotFound);
114
return CommandResult.Failure(CliExitCodes.DashboardFailure,
DashboardCommandStrings
.ManagedBinaryNotFound);
177
DashboardCommandStrings
.EnsuringDashboardBundle,
341
DashboardExitCodes.UnexpectedError =>
DashboardCommandStrings
.DashboardExitedUnexpectedError,
342
DashboardExitCodes.ValidationFailure =>
DashboardCommandStrings
.DashboardExitedValidationFailure,
343
DashboardExitCodes.AddressInUse =>
DashboardCommandStrings
.DashboardExitedAddressInUse,
344
_ => string.Format(CultureInfo.CurrentCulture,
DashboardCommandStrings
.DashboardExitedWithError, exitCode),
355
var dashboardLabel =
DashboardCommandStrings
.DashboardLabel;
356
var otlpGrpcLabel =
DashboardCommandStrings
.OtlpGrpcLabel;
357
var otlpHttpLabel =
DashboardCommandStrings
.OtlpHttpLabel;
358
var logsLabel =
DashboardCommandStrings
.LogsLabel;
427
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
DashboardCommandStrings
.DashboardFailedToStart, ex.Message));
438
DashboardCommandStrings
.StartingDashboard,
485
:
DashboardCommandStrings
.DashboardStartTimedOut;
Profiling\ProfileCaptureService.cs (5)
79
throw new InvalidOperationException(
DashboardCommandStrings
.ManagedBinaryNotFound);
120
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture,
DashboardCommandStrings
.DashboardFailedToStart, ex.Message), ex);
281
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture,
DashboardCommandStrings
.DashboardExitedWithError, exitCode));
299
throw new TimeoutException(
DashboardCommandStrings
.DashboardStartTimedOut);
314
throw new TimeoutException(
DashboardCommandStrings
.DashboardStartTimedOut);
Resources\DashboardCommandStrings.Designer.cs (1)
31
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.DashboardCommandStrings", typeof(
DashboardCommandStrings
).Assembly);
Aspire.Cli.Tests (10)
Commands\DashboardRunCommandTests.cs (7)
45
Assert.Equal(
DashboardCommandStrings
.BundleLayoutNotFound, errorMessage);
168
Assert.Equal([
DashboardCommandStrings
.StartingDashboard], testInteractionService.ShownStatuses);
182
if (status ==
DashboardCommandStrings
.EnsuringDashboardBundle)
205
[
DashboardCommandStrings
.EnsuringDashboardBundle,
DashboardCommandStrings
.StartingDashboard],
409
var expectedMessage = string.Format(CultureInfo.CurrentCulture,
DashboardCommandStrings
.DashboardFailedToStart, $"Failed to start process: {managedPath}");
424
var expectedMessage =
DashboardCommandStrings
.StoppingDashboard;
ProfileCaptureServiceTests.cs (3)
128
Assert.Equal(
DashboardCommandStrings
.ManagedBinaryNotFound, exception.Message);
208
Assert.Equal(
DashboardCommandStrings
.DashboardStartTimedOut, exception.Message);
271
Assert.Equal(
DashboardCommandStrings
.DashboardStartTimedOut, exception.Message);