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
82 references to ICliUpdateNotifier
aspire (67)
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\CertificatesCleanCommand.cs (1)
22public CertificatesCleanCommand(ICertificateToolRunner certificateToolRunner, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\CertificatesCommand.cs (1)
18public CertificatesCommand(CertificatesCleanCommand cleanCommand, CertificatesTrustCommand trustCommand, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\CertificatesTrustCommand.cs (1)
23public CertificatesTrustCommand(ICertificateToolRunner certificateToolRunner, 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) 208public ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 355public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 435public InfoCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\DeployCommand.cs (1)
24public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<DeployCommand> logger, IAnsiConsole ansiConsole)
Commands\DescribeCommand.cs (1)
95ICliUpdateNotifier updateNotifier,
Commands\DoCommand.cs (1)
24public DoCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, 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)
52ICliUpdateNotifier updateNotifier,
Commands\ExportCommand.cs (1)
51ICliUpdateNotifier 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; 79ICliUpdateNotifier updateNotifier,
Commands\LogsCommand.cs (1)
110ICliUpdateNotifier updateNotifier,
Commands\McpCallCommand.cs (1)
49ICliUpdateNotifier updateNotifier,
Commands\McpCommand.cs (1)
25ICliUpdateNotifier updateNotifier,
Commands\McpInitCommand.cs (1)
37ICliUpdateNotifier updateNotifier,
Commands\McpStartCommand.cs (1)
24ICliUpdateNotifier updateNotifier,
Commands\McpToolsCommand.cs (1)
38ICliUpdateNotifier updateNotifier,
Commands\NewCommand.cs (1)
72ICliUpdateNotifier updateNotifier,
Commands\PipelineCommandBase.cs (1)
75protected PipelineCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger logger, IAnsiConsole ansiConsole)
Commands\PsCommand.cs (1)
82ICliUpdateNotifier updateNotifier,
Commands\PublishCommand.cs (1)
42public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<PublishCommand> logger, IAnsiConsole ansiConsole)
Commands\RenderCommand.cs (1)
41ICliUpdateNotifier updateNotifier,
Commands\ResourceCommand.cs (1)
51ICliUpdateNotifier updateNotifier,
Commands\RestoreCommand.cs (1)
41ICliUpdateNotifier 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)
31ICliUpdateNotifier updateNotifier,
Commands\SecretDeleteCommand.cs (1)
32ICliUpdateNotifier updateNotifier,
Commands\SecretGetCommand.cs (1)
32ICliUpdateNotifier updateNotifier,
Commands\SecretListCommand.cs (1)
33ICliUpdateNotifier updateNotifier,
Commands\SecretPathCommand.cs (1)
25ICliUpdateNotifier updateNotifier,
Commands\SecretSetCommand.cs (1)
36ICliUpdateNotifier updateNotifier,
Commands\SetupCommand.cs (1)
33ICliUpdateNotifier updateNotifier,
Commands\StartCommand.cs (1)
28ICliUpdateNotifier updateNotifier,
Commands\StopCommand.cs (1)
39ICliUpdateNotifier updateNotifier,
Commands\TelemetryCommand.cs (1)
27ICliUpdateNotifier updateNotifier,
Commands\TelemetryLogsCommand.cs (1)
50ICliUpdateNotifier updateNotifier,
Commands\TelemetrySpansCommand.cs (1)
46ICliUpdateNotifier updateNotifier,
Commands\TelemetryTracesCommand.cs (1)
45ICliUpdateNotifier 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)
356builder.Services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>();
Aspire.Cli.Tests (15)
Utils\CliTestHelper.cs (1)
301public 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>();