1 implementation of ICliUpdateNotifier
aspire (1)
Utils\CliUpdateNotifier.cs (1)
20IInteractionService interactionService) : ICliUpdateNotifier
30 references to ICliUpdateNotifier
aspire (15)
Commands\AddCommand.cs (1)
29public AddCommand(IDotNetCliRunner runner, INuGetPackageCache nuGetPackageCache, IInteractionService interactionService, IProjectLocator projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\BaseCommand.cs (1)
15protected BaseCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier) : base(name, description)
Commands\ConfigCommand.cs (5)
23public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier) 60public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 104public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 173public ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 206public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\DeployCommand.cs (1)
17public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\ExecCommand.cs (1)
39ICliUpdateNotifier updateNotifier)
Commands\NewCommand.cs (1)
42ICliUpdateNotifier updateNotifier)
Commands\PublishCommand.cs (1)
37public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\PublishCommandBase.cs (1)
43protected PublishCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\RunCommand.cs (1)
44ICliUpdateNotifier updateNotifier,
Commands\TemplateCommand.cs (1)
15public TemplateCommand(ITemplate template, Func<ParseResult, CancellationToken, Task<int>> executeCallback, IFeatures features, ICliUpdateNotifier updateNotifier)
Program.cs (1)
114builder.Services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>();
Aspire.Cli.Tests (15)
Utils\CliTestHelper.cs (1)
139public Func<IServiceProvider, ICliUpdateNotifier> CliUpdateNotifierFactory { get; set; } = (IServiceProvider serviceProvider) =>
Utils\CliUpdateNotificationServiceTests.cs (14)
66var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 120var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 174var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 224var notifier = provider.GetRequiredService<ICliUpdateNotifier>(); 238services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>(); 241var service = provider.GetRequiredService<ICliUpdateNotifier>(); 262services.AddSingleton<ICliUpdateNotifier, CliUpdateNotifier>(); 265var service = provider.GetRequiredService<ICliUpdateNotifier>();