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