8 implementations of DisplaySuccess
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
287
public void
DisplaySuccess
(string message, bool allowMarkup = false)
Interaction\ExtensionInteractionService.cs (1)
305
public void
DisplaySuccess
(string message, bool allowMarkup = false)
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (1)
1404
public void
DisplaySuccess
(string message, bool allowMarkup = false) { }
Commands\PublishCommandPromptingIntegrationTests.cs (1)
948
public void
DisplaySuccess
(string message, bool allowMarkup = false) { }
Commands\UpdateCommandTests.cs (1)
1066
public void
DisplaySuccess
(string message, bool allowMarkup = false) => _innerService.DisplaySuccess(message, allowMarkup);
Templating\DotNetTemplateFactoryTests.cs (1)
481
public void
DisplaySuccess
(string message, bool allowMarkup = false) { }
TestServices\TestConsoleInteractionService.cs (1)
93
public void
DisplaySuccess
(string message, bool allowMarkup = false)
TestServices\TestExtensionInteractionService.cs (1)
81
public void
DisplaySuccess
(string message, bool allowMarkup = false)
32 references to DisplaySuccess
aspire (31)
Backchannel\AppHostConnectionResolver.cs (1)
198
interactionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UsingAppHost, selectedDisplay));
Commands\AddCommand.cs (1)
246
InteractionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version));
Commands\AgentInitCommand.cs (1)
169
_interactionService.
DisplaySuccess
(McpCommandStrings.InitCommand_ConfigurationComplete);
Commands\AppHostLauncher.cs (1)
348
interactionService.
DisplaySuccess
(RunCommandStrings.AppHostStartedSuccessfully);
Commands\CacheCommand.cs (1)
157
InteractionService.
DisplaySuccess
(CacheCommandStrings.CacheCleared);
Commands\ConfigCommand.cs (3)
183
InteractionService.
DisplaySuccess
(isGlobal
384
InteractionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedGlobally, key));
388
InteractionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedLocally, key));
Commands\DocsListCommand.cs (1)
76
InteractionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.FoundDocumentationPages, docs.Count));
Commands\DocsSearchCommand.cs (1)
90
InteractionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.FoundSearchResults, response.Results.Count, query));
Commands\InitCommand.cs (3)
524
InteractionService.
DisplaySuccess
(InitCommandStrings.AspireInitializationComplete);
557
InteractionService.
DisplaySuccess
($"Created {appHostFileName}");
588
InteractionService.
DisplaySuccess
(InitCommandStrings.AspireInitializationComplete);
Commands\RenderCommand.cs (2)
148
InteractionService.
DisplaySuccess
("Step 1 complete!");
187
InteractionService.
DisplaySuccess
("Confirmed!");
Commands\ResourceCommandHelper.cs (2)
68
interactionService.
DisplaySuccess
($"Command '{commandName}' executed successfully on resource '{resourceName}'.");
94
interactionService.
DisplaySuccess
($"Resource '{resourceName}' {pastTenseVerb} successfully.");
Commands\Sdk\SdkDumpCommand.cs (1)
202
InteractionService.
DisplaySuccess
($"Capabilities written to {outputFile.FullName}");
Commands\Sdk\SdkGenerateCommand.cs (1)
197
InteractionService.
DisplaySuccess
($"Generated {generatedFiles.Count} files in {outputDir.FullName}");
Commands\SecretDeleteCommand.cs (1)
63
InteractionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, SecretCommandStrings.SecretDeleteSuccess, key));
Commands\SecretSetCommand.cs (1)
67
InteractionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, SecretCommandStrings.SecretSetSuccess, key));
Commands\StopCommand.cs (1)
305
_interactionService.
DisplaySuccess
(StopCommandStrings.AppHostStoppedSuccessfully);
Commands\UpdateCommand.cs (1)
509
InteractionService.
DisplaySuccess
($"Updated to version: {version}");
Commands\WaitCommand.cs (1)
155
_interactionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, WaitCommandStrings.ResourceReachedTargetStatus, resourceName, statusLabel, elapsed.TotalSeconds));
Projects\GuestAppHostProject.cs (1)
978
_interactionService.
DisplaySuccess
(UpdateCommandStrings.UpdateSuccessfulMessage);
Projects\ProjectUpdater.cs (1)
138
interactionService.
DisplaySuccess
(UpdateCommandStrings.UpdateSuccessfulMessage);
Projects\RunningInstanceManager.cs (1)
71
_interactionService.
DisplaySuccess
(RunCommandStrings.RunningInstanceStopped);
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
100
_interactionService.
DisplaySuccess
($"Created {language.DisplayName.EscapeMarkup()} project at {outputPath.EscapeMarkup()}");
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
92
_interactionService.
DisplaySuccess
($"Created TypeScript starter project at {outputPath.EscapeMarkup()}");
Templating\DotNetTemplateFactory.cs (1)
538
interactionService.
DisplaySuccess
(string.Format(CultureInfo.CurrentCulture, TemplatingStrings.ProjectCreatedSuccessfully, outputPath));
Utils\CliDownloader.cs (1)
82
interactionService.
DisplaySuccess
("Download completed successfully");
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
1066
public void DisplaySuccess(string message, bool allowMarkup = false) => _innerService.
DisplaySuccess
(message, allowMarkup);