19 references to AddCommandStrings
aspire (19)
Commands\AddCommand.cs (18)
29: base("add", AddCommandStrings.Description, features, updateNotifier, executionContext, interactionService) 47integrationArgument.Description = AddCommandStrings.IntegrationArgumentDescription; 52projectOption.Description = AddCommandStrings.ProjectArgumentDescription; 56versionOption.Description = AddCommandStrings.VersionArgumentDescription; 60sourceOption.Description = AddCommandStrings.SourceArgumentDescription; 91AddCommandStrings.SearchingForAspirePackages, 117throw new EmptyChoicesException(AddCommandStrings.NoIntegrationPackagesFound); 126InteractionService.DisplayError(AddCommandStrings.NoPackagesFound); 151_ => throw new InvalidOperationException(AddCommandStrings.UnexpectedNumberOfPackagesFound) 155AddCommandStrings.AddingAspireIntegration, 178InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageInstallationFailed, addPackageResult)); 183InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version)); 204InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.ErrorOccurredWhileAddingPackage, ex.Message)); 218_ => throw new InvalidOperationException(AddCommandStrings.UnexpectedNumberOfPackagesFound) 242InteractionService.DisplaySubtleMessage(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.NoPackagesMatchedSearchTerm, searchTerm)); 291string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SelectAVersionOfPackage, firstPackage.Package.Id), 342string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SelectAVersionOfPackage, firstPackage.Package.Id), 353AddCommandStrings.SelectAnIntegrationToAdd,
Resources\AddCommandStrings.Designer.cs (1)
36System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.AddCommandStrings", typeof(AddCommandStrings).Assembly);