52 references to ConfigCommandStrings
aspire (52)
Commands\ConfigCommand.cs (44)
25: base("config", ConfigCommandStrings.Description, services) 51ConfigCommandStrings.ExtensionActionPrompt, 67Description = ConfigCommandStrings.GetCommand_KeyArgumentDescription 71: base("get", ConfigCommandStrings.GetCommand_Description, configurationService, services) 89var key = await InteractionService.PromptForStringAsync(ConfigCommandStrings.GetCommand_PromptForKey, required: true, cancellationToken: cancellationToken); 114Description = ConfigCommandStrings.SetCommand_KeyArgumentDescription 118Description = ConfigCommandStrings.SetCommand_ValueArgumentDescription 122Description = ConfigCommandStrings.SetCommand_GlobalArgumentDescription 126: base("set", ConfigCommandStrings.SetCommand_Description, configurationService, services) 154var key = await InteractionService.PromptForStringAsync(ConfigCommandStrings.SetCommand_PromptForKey, required: true, cancellationToken: cancellationToken); 155var value = await InteractionService.PromptForStringAsync(ConfigCommandStrings.SetCommand_PromptForValue, required: true, cancellationToken: cancellationToken); 157ConfigCommandStrings.SetCommand_PromptForGlobal, 159g => g ? ConfigCommandStrings.SetCommand_PromptForGlobal_GlobalOption : ConfigCommandStrings.SetCommand_PromptForGlobal_LocalOption, 190? string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeySetGlobally, key, 192: string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeySetLocally, key, 216Description = ConfigCommandStrings.ListCommand_AllOptionDescription 220: base("list", ConfigCommandStrings.ListCommand_Description, configurationService, services) 256InteractionService.DisplayMessage(KnownEmojis.Information, ConfigCommandStrings.NoConfigurationValuesFound); 261InteractionService.DisplayMarkupLine($" [dim]{ConfigCommandStrings.ListCommand_AllFeaturesHint.EscapeMarkup()}[/]"); 270var keyWidth = MaxWidth(ConfigCommandStrings.HeaderKey, localConfig.Keys, globalConfig.Keys); 271var valueWidth = MaxWidth(ConfigCommandStrings.HeaderValue, localConfig.Values, globalConfig.Values); 275ConfigCommandStrings.LocalConfigurationHeader, 277ConfigCommandStrings.NoLocalConfigurationFound, 285ConfigCommandStrings.GlobalConfigurationHeader, 287ConfigCommandStrings.NoGlobalConfigurationFound, 306InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.AvailableFeaturesHeader}:**"); 317InteractionService.DisplayMarkupLine($" [dim]{ConfigCommandStrings.SetFeatureHint.EscapeMarkup()}[/]"); 321InteractionService.DisplayMarkupLine($" [dim]{ConfigCommandStrings.ListCommand_AllFeaturesHint.EscapeMarkup()}[/]"); 343table.AddBoldColumn(ConfigCommandStrings.HeaderKey, width: keyWidth); 344table.AddBoldColumn(ConfigCommandStrings.HeaderValue, width: valueWidth); 368Description = ConfigCommandStrings.DeleteCommand_KeyArgumentDescription 372Description = ConfigCommandStrings.DeleteCommand_GlobalArgumentDescription 376: base("delete", ConfigCommandStrings.DeleteCommand_Description, configurationService, services) 397var key = await InteractionService.PromptForStringAsync(ConfigCommandStrings.DeleteCommand_PromptForKey, required: true, cancellationToken: cancellationToken); 407ConfigCommandStrings.DeleteCommand_PromptForGlobal, 425InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedGlobally, key)); 429InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedLocally, key)); 453: base("info", ConfigCommandStrings.InfoCommand_Description, configurationService, services) 460Description = ConfigCommandStrings.InfoCommand_JsonOptionDescription 505InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.InfoCommand_LocalSettingsPath}:**"); 508InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.InfoCommand_GlobalSettingsPath}:**"); 511InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.InfoCommand_AvailableFeatures}:**"); 517InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.InfoCommand_SettingsProperties}:**");
Configuration\ConfigurationService.cs (7)
255throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationArrayRequired, key)); 533throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyInvalid, key), nameof(key)); 542throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyInvalid, key), nameof(key)); 552throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyInvalid, key), nameof(key)); 573throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationArrayIndexInvalid, key), nameof(key)); 590throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationArrayIndexOutOfRange, index, key, array.Count), nameof(key)); 597throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationArrayRequired, key));
Resources\ConfigCommandStrings.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Cli.Resources.ConfigCommandStrings", typeof(ConfigCommandStrings).Assembly);