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