17 references to AddCommandStrings
aspire (17)
Commands\AddCommand.cs (16)
27
: base("add",
AddCommandStrings
.Description)
44
integrationArgument.Description =
AddCommandStrings
.IntegrationArgumentDescription;
49
projectOption.Description =
AddCommandStrings
.ProjectArgumentDescription;
53
versionOption.Description =
AddCommandStrings
.VersionArgumentDescription;
57
sourceOption.Description =
AddCommandStrings
.SourceArgumentDescription;
82
AddCommandStrings
.SearchingForAspirePackages,
92
throw new EmptyChoicesException(
AddCommandStrings
.NoIntegrationPackagesFound);
101
_interactionService.DisplayError(
AddCommandStrings
.NoPackagesFound);
126
_ => throw new InvalidOperationException(
AddCommandStrings
.UnexpectedNumberOfPackagesFound)
130
AddCommandStrings
.AddingAspireIntegration,
153
_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.PackageInstallationFailed, addPackageResult));
158
_interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version));
190
_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.ErrorOccurredWhileAddingPackage, ex.Message));
204
_ => throw new InvalidOperationException(
AddCommandStrings
.UnexpectedNumberOfPackagesFound)
259
string.Format(CultureInfo.CurrentCulture,
AddCommandStrings
.SelectAVersionOfPackage, selectedPackage.Package.Id),
269
AddCommandStrings
.SelectAnIntegrationToAdd,
Resources\AddCommandStrings.Designer.cs (1)
31
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aspire.Cli.Resources.AddCommandStrings", typeof(
AddCommandStrings
).Assembly);