17 references to AddCommandStrings
aspire (17)
Commands\AddCommand.cs (16)
27: base("add", AddCommandStrings.Description) 44integrationArgument.Description = AddCommandStrings.IntegrationArgumentDescription; 49projectOption.Description = AddCommandStrings.ProjectArgumentDescription; 53versionOption.Description = AddCommandStrings.VersionArgumentDescription; 57sourceOption.Description = AddCommandStrings.SourceArgumentDescription; 82AddCommandStrings.SearchingForAspirePackages, 92throw new EmptyChoicesException(AddCommandStrings.NoIntegrationPackagesFound); 101_interactionService.DisplayError(AddCommandStrings.NoPackagesFound); 126_ => throw new InvalidOperationException(AddCommandStrings.UnexpectedNumberOfPackagesFound) 130AddCommandStrings.AddingAspireIntegration, 153_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageInstallationFailed, addPackageResult)); 158_interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version)); 190_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.ErrorOccurredWhileAddingPackage, ex.Message)); 204_ => throw new InvalidOperationException(AddCommandStrings.UnexpectedNumberOfPackagesFound) 259string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SelectAVersionOfPackage, selectedPackage.Package.Id), 269AddCommandStrings.SelectAnIntegrationToAdd,
Resources\AddCommandStrings.Designer.cs (1)
31System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.AddCommandStrings", typeof(AddCommandStrings).Assembly);