2 implementations of ICliUpdateNotifier
aspire (1)
Utils\CliUpdateNotifier.cs (1)
22IInteractionService interactionService) : ICliUpdateNotifier
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
983internal sealed class TestCliUpdateNotifier : ICliUpdateNotifier
46 references to ICliUpdateNotifier
aspire (31)
Commands\AddCommand.cs (1)
30public AddCommand(IPackagingService packagingService, IInteractionService interactionService, IProjectLocator projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory)
Commands\BaseCommand.cs (1)
23protected BaseCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, IInteractionService interactionService) : base(name, description)
Commands\BaseConfigSubCommand.cs (1)
10internal abstract class BaseConfigSubCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, IConfigurationService configurationService, CliExecutionContext executionContext, IInteractionService interactionService) : BaseCommand(name, description, features, updateNotifier, executionContext, interactionService)
Commands\CacheCommand.cs (2)
16public CacheCommand(IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 36public ClearCommand(IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\ConfigCommand.cs (5)
23public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 71public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 120public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 199private sealed class ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 237public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\DeployCommand.cs (1)
21public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, 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, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ILogger<DoCommand> logger, IAnsiConsole ansiConsole)
Commands\DoctorCommand.cs (1)
23ICliUpdateNotifier updateNotifier,
Commands\ExecCommand.cs (1)
40ICliUpdateNotifier updateNotifier,
Commands\ExtensionInternalCommand.cs (2)
17public ExtensionInternalCommand(IFeatures features, ICliUpdateNotifier updateNotifier, IProjectLocator projectLocator, CliExecutionContext executionContext, IInteractionService interactionService) : base("extension", "Hidden command for extension integration", features, updateNotifier, executionContext, interactionService) 35public GetAppHostCandidatesCommand(IFeatures features, ICliUpdateNotifier updateNotifier, IProjectLocator projectLocator, CliExecutionContext executionContext, IInteractionService interactionService) : base("get-apphosts", "Get AppHosts in the specified directory", features, updateNotifier, executionContext, interactionService)
Commands\InitCommand.cs (2)
37private readonly ICliUpdateNotifier _updateNotifier; 64ICliUpdateNotifier updateNotifier,
Commands\McpCommand.cs (1)
24ICliUpdateNotifier updateNotifier,
Commands\McpInitCommand.cs (1)
39ICliUpdateNotifier updateNotifier,
Commands\McpStartCommand.cs (1)
36public McpStartCommand(IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, IAuxiliaryBackchannelMonitor auxiliaryBackchannelMonitor, ILoggerFactory loggerFactory, ILogger<McpStartCommand> logger, IPackagingService packagingService, IEnvironmentChecker environmentChecker)
Commands\NewCommand.cs (2)
34private readonly ICliUpdateNotifier _updateNotifier; 59ICliUpdateNotifier updateNotifier,
Commands\PipelineCommandBase.cs (1)
64protected PipelineCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ILogger logger, IAnsiConsole ansiConsole)
Commands\PublishCommand.cs (1)
39public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ILogger<PublishCommand> logger, IAnsiConsole ansiConsole)
Commands\RunCommand.cs (1)
50ICliUpdateNotifier updateNotifier,
Commands\TemplateCommand.cs (1)
16public TemplateCommand(ITemplate template, Func<ParseResult, CancellationToken, Task<int>> executeCallback, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, IInteractionService interactionService)
Commands\UpdateCommand.cs (2)
29private readonly ICliUpdateNotifier _updateNotifier; 41ICliUpdateNotifier 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)
173builder.Services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>();
Aspire.Cli.Tests (15)
Utils\CliTestHelper.cs (1)
200public Func<IServiceProvider, ICliUpdateNotifier> CliUpdateNotifierFactory { get; set; } = (IServiceProvider serviceProvider) =>
Utils\CliUpdateNotificationServiceTests.cs (14)
66var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 121var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 176var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 227var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 242services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>(); 245var service = provider.GetRequiredService<ICliUpdateNotifier>(); 267services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>(); 270var service = provider.GetRequiredService<ICliUpdateNotifier>();