1 implementation of ICliUpdateNotifier
aspire (1)
Utils\CliUpdateNotifier.cs (1)
21
IInteractionService interactionService) :
ICliUpdateNotifier
40 references to ICliUpdateNotifier
aspire (25)
Commands\AddCommand.cs (1)
28
public 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)
23
protected BaseCommand(string name, string description, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext, IInteractionService interactionService) : base(name, description)
Commands\BaseConfigSubCommand.cs (1)
10
internal 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)
16
public CacheCommand(IInteractionService interactionService, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext)
36
public ClearCommand(IInteractionService interactionService, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext)
Commands\ConfigCommand.cs (5)
23
public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IDotNetSdkInstaller sdkInstaller, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext)
71
public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext)
120
public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext)
199
private sealed class ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext)
237
public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext)
Commands\DeployCommand.cs (1)
19
public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext)
Commands\ExecCommand.cs (1)
38
ICliUpdateNotifier
updateNotifier,
Commands\ExtensionInternalCommand.cs (2)
16
public ExtensionInternalCommand(IFeatures features,
ICliUpdateNotifier
updateNotifier, IProjectLocator projectLocator, CliExecutionContext executionContext, IInteractionService interactionService) : base("extension", "Hidden command for extension integration", features, updateNotifier, executionContext, interactionService)
34
public 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)
34
private readonly
ICliUpdateNotifier
_updateNotifier;
57
ICliUpdateNotifier
updateNotifier,
Commands\NewCommand.cs (2)
31
private readonly
ICliUpdateNotifier
_updateNotifier;
54
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, CliExecutionContext executionContext)
Commands\PublishCommandBase.cs (1)
45
protected 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)
45
ICliUpdateNotifier
updateNotifier,
Commands\TemplateCommand.cs (1)
16
public TemplateCommand(ITemplate template, Func<ParseResult, CancellationToken, Task<int>> executeCallback, IFeatures features,
ICliUpdateNotifier
updateNotifier, CliExecutionContext executionContext, IInteractionService interactionService)
Commands\UpdateCommand.cs (1)
21
public 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)
13
internal sealed class NuGetPackagePrefetcher(ILogger<NuGetPackagePrefetcher> logger, CliExecutionContext executionContext, IFeatures features, IPackagingService packagingService,
ICliUpdateNotifier
cliUpdateNotifier) : BackgroundService
Program.cs (1)
131
builder.Services.AddSingleton<
ICliUpdateNotifier
, CliUpdateNotifier>();
Aspire.Cli.Tests (15)
Utils\CliTestHelper.cs (1)
165
public Func<IServiceProvider,
ICliUpdateNotifier
> CliUpdateNotifierFactory { get; set; } = (IServiceProvider serviceProvider) =>
Utils\CliUpdateNotificationServiceTests.cs (14)
66
var
notifier = provider.GetRequiredService<
ICliUpdateNotifier
>();
121
var
notifier = provider.GetRequiredService<
ICliUpdateNotifier
>();
176
var
notifier = provider.GetRequiredService<
ICliUpdateNotifier
>();
227
var
notifier = provider.GetRequiredService<
ICliUpdateNotifier
>();
242
services.AddSingleton<
ICliUpdateNotifier
, CliUpdateNotifier>();
245
var
service = provider.GetRequiredService<
ICliUpdateNotifier
>();
267
services.AddSingleton<
ICliUpdateNotifier
, CliUpdateNotifier>();
270
var
service = provider.GetRequiredService<
ICliUpdateNotifier
>();