18 references to AddCommandStrings
aspire (18)
Commands\AddCommand.cs (17)
28
: base("add",
AddCommandStrings
.Description, features, updateNotifier)
45
integrationArgument.Description =
AddCommandStrings
.IntegrationArgumentDescription;
50
projectOption.Description =
AddCommandStrings
.ProjectArgumentDescription;
54
versionOption.Description =
AddCommandStrings
.VersionArgumentDescription;
58
sourceOption.Description =
AddCommandStrings
.SourceArgumentDescription;
83
AddCommandStrings
.SearchingForAspirePackages,
93
throw new EmptyChoicesException(
AddCommandStrings
.NoIntegrationPackagesFound);
102
_interactionService.DisplayError(
AddCommandStrings
.NoPackagesFound);
127
_ => throw new InvalidOperationException(
AddCommandStrings
.UnexpectedNumberOfPackagesFound)
131
AddCommandStrings
.AddingAspireIntegration,
154
_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.PackageInstallationFailed, addPackageResult));
159
_interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version));
191
_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.ErrorOccurredWhileAddingPackage, ex.Message));
205
_ => throw new InvalidOperationException(
AddCommandStrings
.UnexpectedNumberOfPackagesFound)
229
_interactionService.DisplaySubtleMessage(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.NoPackagesMatchedSearchTerm, searchTerm));
270
string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.SelectAVersionOfPackage, selectedPackage.Package.Id),
280
AddCommandStrings
.SelectAnIntegrationToAdd,
Resources\AddCommandStrings.Designer.cs (1)
31
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.AddCommandStrings", typeof(
AddCommandStrings
).Assembly);