8 implementations of DisplaySuccess
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
608public void DisplaySuccess(string message, bool allowMarkup = false)
Interaction\ExtensionInteractionService.cs (1)
413public void DisplaySuccess(string message, bool allowMarkup = false)
Aspire.Cli.Tests (6)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1243public void DisplaySuccess(string message, bool allowMarkup = false) { }
Commands\UpdateCommandTests.cs (1)
3538public void DisplaySuccess(string message, bool allowMarkup = false) => _innerService.DisplaySuccess(message, allowMarkup);
Projects\ExtensionGuestLauncherTests.cs (1)
174public void DisplaySuccess(string message, bool allowMarkup = false) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (1)
403public void DisplaySuccess(string message, bool allowMarkup = false) { }
TestServices\TestExtensionInteractionService.cs (1)
121public void DisplaySuccess(string message, bool allowMarkup = false)
TestServices\TestInteractionService.cs (1)
261public void DisplaySuccess(string message, bool allowMarkup = false)
47 references to DisplaySuccess
aspire (46)
Backchannel\AppHostConnectionResolver.cs (1)
349interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UsingAppHost, selectedDisplay));
Commands\AddCommand.cs (1)
410InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version));
Commands\AgentInitCommand.cs (1)
473InteractionService.DisplaySuccess(McpCommandStrings.InitCommand_ConfigurationComplete);
Commands\ApiListCommand.cs (1)
72InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ApiCommandStrings.FoundApiEntries, items.Count, scope));
Commands\ApiSearchCommand.cs (1)
86InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ApiCommandStrings.FoundSearchResults, items.Count, query));
Commands\AppHostLauncher.cs (1)
949interactionService.DisplaySuccess(RunCommandStrings.AppHostStartedSuccessfully);
Commands\CacheCommand.cs (1)
60InteractionService.DisplaySuccess(CacheCommandStrings.CacheCleared);
Commands\CertificatesCleanCommand.cs (1)
33InteractionService.DisplaySuccess(CertificatesCommandStrings.CleanSuccess);
Commands\CertificatesTrustCommand.cs (1)
41InteractionService.DisplaySuccess(CertificatesCommandStrings.TrustSuccess);
Commands\ConfigCommand.cs (3)
181InteractionService.DisplaySuccess(isGlobal 412InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedGlobally, key)); 416InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedLocally, key));
Commands\DocsListCommand.cs (1)
67InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.FoundDocumentationPages, docs.Count));
Commands\DocsSearchCommand.cs (1)
82InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.FoundSearchResults, response.Results.Count, query));
Commands\IntegrationSearchCommand.cs (2)
200InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.FoundIntegrationPackagesMatchingSearchTerm, results.Length, searchTerm)); 204InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.FoundIntegrationPackages, results.Length));
Commands\RenderCommand.cs (5)
247InteractionService.DisplaySuccess("Operation completed successfully."); 253InteractionService.DisplaySuccess("All 47 integration tests passed successfully across 3 target frameworks (net8.0, net9.0, net10.0). Total execution time: 2 minutes and 14 seconds. Code coverage increased from 78.3% to 82.1%."); 343InteractionService.DisplaySuccess("Step 1 complete!"); 382InteractionService.DisplaySuccess("Confirmed!"); 436InteractionService.DisplaySuccess($"You entered: {answer}");
Commands\ResourceCommandHelper.cs (2)
88interactionService.DisplaySuccess($"Command '{commandName}' executed successfully on resource '{resourceName}'."); 131interactionService.DisplaySuccess($"Resource '{resourceName}' {pastTenseVerb} successfully.");
Commands\RestoreCommand.cs (3)
105_interactionService.DisplaySuccess( 142_interactionService.DisplaySuccess( 162_interactionService.DisplaySuccess(
Commands\Sdk\SdkDumpCommand.cs (2)
233InteractionService.DisplaySuccess($"Capabilities written to {outputFile.FullName}"); 362InteractionService.DisplaySuccess($"Capabilities written to {outputPath}");
Commands\Sdk\SdkGenerateCommand.cs (1)
191InteractionService.DisplaySuccess($"Generated {generatedFiles.Count} files in {outputDir.FullName}");
Commands\SecretDeleteCommand.cs (1)
53InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, SecretCommandStrings.SecretDeleteSuccess, key));
Commands\SecretSetCommand.cs (1)
58InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, SecretCommandStrings.SecretSetSuccess, key));
Commands\StopCommand.cs (2)
371InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, StopCommandStrings.PersistentResourcesCleaned, appHostDisplayPath)); 517InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, StopCommandStrings.AppHostStoppedSuccessfully, appHostIdentifier));
Commands\UpdateCommand.cs (1)
940InteractionService.DisplaySuccess($"Updated to version: {version}");
Commands\WaitCommand.cs (1)
144InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, WaitCommandStrings.ResourceReachedTargetStatus, resourceName, statusLabel, elapsed.TotalSeconds));
Migrations\TypeScriptAppHostMigration.cs (1)
112_interactionService.DisplaySuccess(string.Format(
Projects\GuestAppHostProject.cs (1)
1575_interactionService.DisplaySuccess(UpdateCommandStrings.UpdateSuccessfulMessage);
Projects\ProjectUpdater.cs (1)
204interactionService.DisplaySuccess(UpdateCommandStrings.UpdateSuccessfulMessage);
Projects\RunningInstanceManager.cs (1)
72_interactionService.DisplaySuccess(RunCommandStrings.RunningInstanceStopped);
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
125_interactionService.DisplaySuccess($"Created {language.DisplayName.EscapeMarkup()} project at {outputPath.EscapeMarkup()}");
Templating\CliTemplateFactory.GoStarterTemplate.cs (1)
107_interactionService.DisplaySuccess($"Created Go starter project at {outputPath.EscapeMarkup()}");
Templating\CliTemplateFactory.JavaStarterTemplate.cs (1)
107_interactionService.DisplaySuccess($"Created Java starter project at {outputPath.EscapeMarkup()}");
Templating\CliTemplateFactory.PythonStarterTemplate.cs (1)
121_interactionService.DisplaySuccess($"Created Python starter project at {outputPath.EscapeMarkup()}");
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
105_interactionService.DisplaySuccess($"Created TypeScript starter project at {outputPath.EscapeMarkup()}");
Templating\DotNetTemplateFactory.cs (1)
563interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, TemplatingStrings.ProjectCreatedSuccessfully, outputPath));
Utils\CliDownloader.cs (1)
82interactionService.DisplaySuccess("Download completed successfully");
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
3538public void DisplaySuccess(string message, bool allowMarkup = false) => _innerService.DisplaySuccess(message, allowMarkup);