1 write to ConfigSources
aspire (1)
Commands\BaseCommand.cs (1)
89ConfigSources = services.ConfigSources;
13 references to ConfigSources
aspire (13)
Commands\BaseCommand.cs (4)
109await ConfigSources.StopChecksAsync().ConfigureAwait(false); 156ConfigSources.ValidateOptIn(parseResult); 285await ConfigSources.StopChecksAsync().ConfigureAwait(false); 305ConfigSources.NotifyIfUpdateAvailable();
Commands\InitCommand.cs (2)
163var configSource = await ConfigSources.SelectForInitializationAsync(configurationDirectory, parseResult, cancellationToken); 187await ConfigSources.MaterializeAsync(configSource, configurationDirectory, cancellationToken);
Commands\NewCommand.cs (2)
615var configSource = await ConfigSources.ResolveAndAcquireConfigSourceAsync(parseResult, ConfigSourceStrings.NewUseSourcePrompt, cancellationToken); 836await ConfigSources.MaterializeAsync(configSource, workspaceRoot, cancellationToken);
Commands\TemplateManagementCommand.cs (1)
98? await ConfigSources.ResolveAndAcquireConfigSourceAsync(parseResult, ConfigSourceStrings.TemplateSourceListUseSourcePrompt, allowInteractiveInput: !json, cancellationToken)
Commands\UpdateCommand.cs (4)
231ConfigSources.EnsureEnabled(); 240await ConfigSources.CheckProjectAsync(directory, force: true, cancellationToken); 324ConfigSources.CheckForConfigSourceUpdates(updateDirectory, cancellationToken); 333await ConfigSources.SelectForUpdateAsync(updateDirectory, parseResult, cancellationToken);