2 implementations of ICliUpdateNotifier
aspire (1)
Utils\CliUpdateNotifier.cs (1)
22IInteractionService interactionService) : ICliUpdateNotifier
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
985internal sealed class TestCliUpdateNotifier : ICliUpdateNotifier
69 references to ICliUpdateNotifier
aspire (54)
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)
24ICliUpdateNotifier updateNotifier,
Commands\AgentInitCommand.cs (1)
41ICliUpdateNotifier updateNotifier,
Commands\AgentMcpCommand.cs (1)
47ICliUpdateNotifier updateNotifier,
Commands\BaseCommand.cs (1)
26protected 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)
17public CacheCommand(IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 35public ClearCommand(IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\ConfigCommand.cs (6)
24public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 74public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 132public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 199private sealed class ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 294public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 374public InfoCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\DeployCommand.cs (1)
21public 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\DoCommand.cs (1)
21public 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)
25ICliUpdateNotifier updateNotifier,
Commands\DocsGetCommand.cs (1)
44ICliUpdateNotifier updateNotifier,
Commands\DocsListCommand.cs (1)
35ICliUpdateNotifier updateNotifier,
Commands\DocsSearchCommand.cs (1)
45ICliUpdateNotifier updateNotifier,
Commands\DoctorCommand.cs (1)
28ICliUpdateNotifier updateNotifier,
Commands\ExecCommand.cs (1)
60ICliUpdateNotifier 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)
37private readonly ICliUpdateNotifier _updateNotifier; 78ICliUpdateNotifier updateNotifier,
Commands\LogsCommand.cs (1)
121ICliUpdateNotifier updateNotifier,
Commands\McpCommand.cs (1)
22ICliUpdateNotifier updateNotifier,
Commands\McpInitCommand.cs (1)
37ICliUpdateNotifier updateNotifier,
Commands\McpStartCommand.cs (1)
24ICliUpdateNotifier updateNotifier,
Commands\NewCommand.cs (2)
34private readonly ICliUpdateNotifier _updateNotifier; 83ICliUpdateNotifier updateNotifier,
Commands\PipelineCommandBase.cs (1)
70protected 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)
59ICliUpdateNotifier updateNotifier,
Commands\PublishCommand.cs (1)
39public 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\ResourceCommand.cs (1)
40ICliUpdateNotifier updateNotifier,
Commands\ResourceCommandBase.cs (1)
61ICliUpdateNotifier updateNotifier,
Commands\ResourcesCommand.cs (1)
96ICliUpdateNotifier updateNotifier,
Commands\RestartCommand.cs (1)
27ICliUpdateNotifier updateNotifier,
Commands\RunCommand.cs (1)
96ICliUpdateNotifier updateNotifier,
Commands\Sdk\SdkCommand.cs (1)
23ICliUpdateNotifier updateNotifier,
Commands\Sdk\SdkDumpCommand.cs (1)
54ICliUpdateNotifier updateNotifier,
Commands\Sdk\SdkGenerateCommand.cs (1)
47ICliUpdateNotifier updateNotifier,
Commands\StartCommand.cs (1)
27ICliUpdateNotifier updateNotifier,
Commands\StopCommand.cs (1)
40ICliUpdateNotifier updateNotifier,
Commands\TelemetryCommand.cs (1)
25ICliUpdateNotifier 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)
33private readonly ICliUpdateNotifier _updateNotifier; 58ICliUpdateNotifier updateNotifier,
NuGet\NuGetPackagePrefetcher.cs (1)
14internal sealed class NuGetPackagePrefetcher(ILogger<NuGetPackagePrefetcher> logger, CliExecutionContext executionContext, IFeatures features, IPackagingService packagingService, ICliUpdateNotifier cliUpdateNotifier, IDotNetSdkInstaller sdkInstaller) : BackgroundService
Program.cs (1)
269builder.Services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>();
Aspire.Cli.Tests (15)
Utils\CliTestHelper.cs (1)
270public 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>();