20 references to AddCommandStrings
aspire (20)
Commands\AddCommand.cs (19)
30: base("add", AddCommandStrings.Description, features, updateNotifier) 49integrationArgument.Description = AddCommandStrings.IntegrationArgumentDescription; 54projectOption.Description = AddCommandStrings.ProjectArgumentDescription; 58versionOption.Description = AddCommandStrings.VersionArgumentDescription; 62sourceOption.Description = AddCommandStrings.SourceArgumentDescription; 93AddCommandStrings.SearchingForAspirePackages, 103throw new EmptyChoicesException(AddCommandStrings.NoIntegrationPackagesFound); 112_interactionService.DisplayError(AddCommandStrings.NoPackagesFound); 137_ => throw new InvalidOperationException(AddCommandStrings.UnexpectedNumberOfPackagesFound) 141AddCommandStrings.AddingAspireIntegration, 164_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageInstallationFailed, addPackageResult)); 169_interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version)); 201_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.ErrorOccurredWhileAddingPackage, ex.Message)); 215_ => throw new InvalidOperationException(AddCommandStrings.UnexpectedNumberOfPackagesFound) 239_interactionService.DisplaySubtleMessage(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.NoPackagesMatchedSearchTerm, searchTerm)); 285selections.Add((AddCommandStrings.UsePrereleasePackages, async () => 288string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SelectAVersionOfPackage, selectedPackage.Package.Id), 309string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SelectAVersionOfPackage, selectedPackage.Package.Id), 322AddCommandStrings.SelectAnIntegrationToAdd,
Resources\AddCommandStrings.Designer.cs (1)
36System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.AddCommandStrings", typeof(AddCommandStrings).Assembly);