2 implementations of ICliUpdateNotifier
aspire (1)
Utils\CliUpdateNotifier.cs (1)
22IInteractionService interactionService) : ICliUpdateNotifier
Aspire.Cli.Tests (1)
TestServices\TestCliUpdateNotifier.cs (1)
8internal sealed class TestCliUpdateNotifier : ICliUpdateNotifier
76 references to ICliUpdateNotifier
aspire (61)
Commands\AddCommand.cs (1)
47public AddCommand(IPackagingService packagingService, IInteractionService interactionService, IProjectLocator projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory)
Commands\AgentCommand.cs (1)
26ICliUpdateNotifier updateNotifier,
Commands\AgentInitCommand.cs (1)
42ICliUpdateNotifier updateNotifier,
Commands\AgentMcpCommand.cs (1)
47ICliUpdateNotifier updateNotifier,
Commands\BaseCommand.cs (1)
33protected BaseCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry) : base(name, description)
Commands\BaseConfigSubCommand.cs (1)
11internal abstract class BaseConfigSubCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, IConfigurationService configurationService, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry) : BaseCommand(name, description, features, updateNotifier, executionContext, interactionService, telemetry)
Commands\CacheCommand.cs (2)
19public CacheCommand(IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 37public ClearCommand(IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\ConfigCommand.cs (6)
26public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 76public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 134public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 201private sealed class ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 331public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 411public InfoCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\DeployCommand.cs (1)
23public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ILogger<DeployCommand> logger, IAnsiConsole ansiConsole)
Commands\DescribeCommand.cs (1)
95ICliUpdateNotifier updateNotifier,
Commands\DoCommand.cs (1)
23public DoCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ILogger<DoCommand> logger, IAnsiConsole ansiConsole)
Commands\DocsCommand.cs (1)
27ICliUpdateNotifier updateNotifier,
Commands\DocsGetCommand.cs (1)
44ICliUpdateNotifier updateNotifier,
Commands\DocsListCommand.cs (1)
35ICliUpdateNotifier updateNotifier,
Commands\DocsSearchCommand.cs (1)
45ICliUpdateNotifier updateNotifier,
Commands\DoctorCommand.cs (1)
30ICliUpdateNotifier updateNotifier,
Commands\ExecCommand.cs (1)
55ICliUpdateNotifier updateNotifier,
Commands\ExtensionInternalCommand.cs (2)
18public ExtensionInternalCommand(IFeatures features, ICliUpdateNotifier updateNotifier, IProjectLocator projectLocator, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry) : base("extension", "Hidden command for extension integration", features, updateNotifier, executionContext, interactionService, telemetry) 33public GetAppHostCandidatesCommand(IFeatures features, ICliUpdateNotifier updateNotifier, IProjectLocator projectLocator, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry) : base("get-apphosts", "Get AppHosts in the specified directory", features, updateNotifier, executionContext, interactionService, telemetry)
Commands\InitCommand.cs (2)
36private readonly ICliUpdateNotifier _updateNotifier; 77ICliUpdateNotifier updateNotifier,
Commands\LogsCommand.cs (1)
110ICliUpdateNotifier updateNotifier,
Commands\McpCommand.cs (1)
22ICliUpdateNotifier updateNotifier,
Commands\McpInitCommand.cs (1)
37ICliUpdateNotifier updateNotifier,
Commands\McpStartCommand.cs (1)
24ICliUpdateNotifier updateNotifier,
Commands\NewCommand.cs (1)
70ICliUpdateNotifier updateNotifier,
Commands\PipelineCommandBase.cs (1)
72protected PipelineCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ILogger logger, IAnsiConsole ansiConsole)
Commands\PsCommand.cs (1)
62ICliUpdateNotifier updateNotifier,
Commands\PublishCommand.cs (1)
41public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ILogger<PublishCommand> logger, IAnsiConsole ansiConsole)
Commands\RenderCommand.cs (1)
41ICliUpdateNotifier updateNotifier,
Commands\ResourceCommand.cs (1)
40ICliUpdateNotifier updateNotifier,
Commands\ResourceCommandBase.cs (1)
59ICliUpdateNotifier updateNotifier,
Commands\RestartCommand.cs (1)
29ICliUpdateNotifier updateNotifier,
Commands\RunCommand.cs (1)
92ICliUpdateNotifier updateNotifier,
Commands\Sdk\SdkCommand.cs (1)
23ICliUpdateNotifier updateNotifier,
Commands\Sdk\SdkDumpCommand.cs (1)
54ICliUpdateNotifier updateNotifier,
Commands\Sdk\SdkGenerateCommand.cs (1)
46ICliUpdateNotifier updateNotifier,
Commands\SecretCommand.cs (1)
30ICliUpdateNotifier updateNotifier,
Commands\SecretDeleteCommand.cs (1)
32ICliUpdateNotifier updateNotifier,
Commands\SecretGetCommand.cs (1)
32ICliUpdateNotifier updateNotifier,
Commands\SecretListCommand.cs (1)
33ICliUpdateNotifier updateNotifier,
Commands\SecretSetCommand.cs (1)
36ICliUpdateNotifier updateNotifier,
Commands\SetupCommand.cs (1)
33ICliUpdateNotifier updateNotifier,
Commands\StartCommand.cs (1)
41ICliUpdateNotifier updateNotifier,
Commands\StopCommand.cs (1)
46ICliUpdateNotifier updateNotifier,
Commands\TelemetryCommand.cs (1)
27ICliUpdateNotifier updateNotifier,
Commands\TelemetryLogsCommand.cs (1)
49ICliUpdateNotifier updateNotifier,
Commands\TelemetrySpansCommand.cs (1)
45ICliUpdateNotifier updateNotifier,
Commands\TelemetryTracesCommand.cs (1)
43ICliUpdateNotifier updateNotifier,
Commands\TemplateCommand.cs (1)
17public TemplateCommand(ITemplate template, Func<ParseResult, CancellationToken, Task<int>> executeCallback, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry)
Commands\UpdateCommand.cs (2)
30private readonly ICliUpdateNotifier _updateNotifier; 50ICliUpdateNotifier updateNotifier,
Commands\WaitCommand.cs (1)
48ICliUpdateNotifier updateNotifier,
NuGet\NuGetPackagePrefetcher.cs (1)
13internal sealed class NuGetPackagePrefetcher(ILogger<NuGetPackagePrefetcher> logger, CliExecutionContext executionContext, IFeatures features, IPackagingService packagingService, ICliUpdateNotifier cliUpdateNotifier) : BackgroundService
Program.cs (1)
286builder.Services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>();
Aspire.Cli.Tests (15)
Utils\CliTestHelper.cs (1)
293public Func<IServiceProvider, ICliUpdateNotifier> CliUpdateNotifierFactory { get; set; } = (IServiceProvider serviceProvider) =>
Utils\CliUpdateNotificationServiceTests.cs (14)
67var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 122var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 177var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 228var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 243services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>(); 246var service = provider.GetRequiredService<ICliUpdateNotifier>(); 268services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>(); 271var service = provider.GetRequiredService<ICliUpdateNotifier>();