19 references to AddCommandStrings
aspire (19)
Commands\AddCommand.cs (18)
30
: base("add",
AddCommandStrings
.Description, features, updateNotifier, executionContext)
49
integrationArgument.Description =
AddCommandStrings
.IntegrationArgumentDescription;
54
projectOption.Description =
AddCommandStrings
.ProjectArgumentDescription;
58
versionOption.Description =
AddCommandStrings
.VersionArgumentDescription;
62
sourceOption.Description =
AddCommandStrings
.SourceArgumentDescription;
93
AddCommandStrings
.SearchingForAspirePackages,
119
throw new EmptyChoicesException(
AddCommandStrings
.NoIntegrationPackagesFound);
128
_interactionService.DisplayError(
AddCommandStrings
.NoPackagesFound);
153
_ => throw new InvalidOperationException(
AddCommandStrings
.UnexpectedNumberOfPackagesFound)
157
AddCommandStrings
.AddingAspireIntegration,
180
_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.PackageInstallationFailed, addPackageResult));
185
_interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version));
206
_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.ErrorOccurredWhileAddingPackage, ex.Message));
220
_ => throw new InvalidOperationException(
AddCommandStrings
.UnexpectedNumberOfPackagesFound)
244
_interactionService.DisplaySubtleMessage(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.NoPackagesMatchedSearchTerm, searchTerm));
293
string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.SelectAVersionOfPackage, firstPackage.Package.Id),
344
string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.SelectAVersionOfPackage, firstPackage.Package.Id),
355
AddCommandStrings
.SelectAnIntegrationToAdd,
Resources\AddCommandStrings.Designer.cs (1)
36
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.AddCommandStrings", typeof(
AddCommandStrings
).Assembly);