2 implementations of ICliUpdateNotifier
aspire (1)
Utils\CliUpdateNotifier.cs (1)
22IInteractionService interactionService) : ICliUpdateNotifier
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
266internal sealed class TestCliUpdateNotifier : ICliUpdateNotifier
42 references to ICliUpdateNotifier
aspire (27)
Commands\AddCommand.cs (1)
30public AddCommand(IDotNetCliRunner runner, IPackagingService packagingService, IInteractionService interactionService, IProjectLocator projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
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, ICliHostEnvironment hostEnvironment)
Commands\DoCommand.cs (1)
19public DoCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
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)
35private readonly ICliUpdateNotifier _updateNotifier; 58ICliUpdateNotifier updateNotifier,
Commands\NewCommand.cs (2)
32private readonly ICliUpdateNotifier _updateNotifier; 55ICliUpdateNotifier updateNotifier,
Commands\PipelineCommandBase.cs (1)
59protected PipelineCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
Commands\PublishCommand.cs (1)
37public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
Commands\RunCommand.cs (1)
47ICliUpdateNotifier 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)
27private readonly ICliUpdateNotifier _updateNotifier; 37ICliUpdateNotifier 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)
139builder.Services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>();
Aspire.Cli.Tests (15)
Utils\CliTestHelper.cs (1)
168public 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>();