1 implementation of ICliUpdateNotifier
aspire (1)
Utils\CliUpdateNotifier.cs (1)
21IInteractionService interactionService) : ICliUpdateNotifier
40 references to ICliUpdateNotifier
aspire (25)
Commands\AddCommand.cs (1)
28public AddCommand(IDotNetCliRunner runner, IPackagingService packagingService, IInteractionService interactionService, IProjectLocator projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
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)
19public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\ExecCommand.cs (1)
38ICliUpdateNotifier updateNotifier,
Commands\ExtensionInternalCommand.cs (2)
16public ExtensionInternalCommand(IFeatures features, ICliUpdateNotifier updateNotifier, IProjectLocator projectLocator, CliExecutionContext executionContext, IInteractionService interactionService) : base("extension", "Hidden command for extension integration", features, updateNotifier, executionContext, interactionService) 34public 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)
34private readonly ICliUpdateNotifier _updateNotifier; 57ICliUpdateNotifier updateNotifier,
Commands\NewCommand.cs (2)
31private readonly ICliUpdateNotifier _updateNotifier; 54ICliUpdateNotifier updateNotifier,
Commands\PublishCommand.cs (1)
37public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\PublishCommandBase.cs (1)
45protected PublishCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\RunCommand.cs (1)
45ICliUpdateNotifier 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 (1)
21public UpdateCommand(IProjectLocator projectLocator, IPackagingService packagingService, IProjectUpdater projectUpdater, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) : base("update", UpdateCommandStrings.Description, features, updateNotifier, executionContext, interactionService)
NuGet\NuGetPackagePrefetcher.cs (1)
13internal sealed class NuGetPackagePrefetcher(ILogger<NuGetPackagePrefetcher> logger, CliExecutionContext executionContext, IFeatures features, IPackagingService packagingService, ICliUpdateNotifier cliUpdateNotifier) : BackgroundService
Program.cs (1)
131builder.Services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>();
Aspire.Cli.Tests (15)
Utils\CliTestHelper.cs (1)
165public 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>();