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