20 references to AddCommandStrings
aspire (20)
Commands\AddCommand.cs (19)
30
: base("add",
AddCommandStrings
.Description, features, updateNotifier)
49
integrationArgument.Description =
AddCommandStrings
.IntegrationArgumentDescription;
54
projectOption.Description =
AddCommandStrings
.ProjectArgumentDescription;
58
versionOption.Description =
AddCommandStrings
.VersionArgumentDescription;
62
sourceOption.Description =
AddCommandStrings
.SourceArgumentDescription;
93
AddCommandStrings
.SearchingForAspirePackages,
103
throw new EmptyChoicesException(
AddCommandStrings
.NoIntegrationPackagesFound);
112
_interactionService.DisplayError(
AddCommandStrings
.NoPackagesFound);
137
_ => throw new InvalidOperationException(
AddCommandStrings
.UnexpectedNumberOfPackagesFound)
141
AddCommandStrings
.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));
285
selections.Add((
AddCommandStrings
.UsePrereleasePackages, async () =>
288
string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.SelectAVersionOfPackage, selectedPackage.Package.Id),
309
string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.SelectAVersionOfPackage, selectedPackage.Package.Id),
322
AddCommandStrings
.SelectAnIntegrationToAdd,
Resources\AddCommandStrings.Designer.cs (1)
36
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.AddCommandStrings", typeof(
AddCommandStrings
).Assembly);