17 instantiations of RestoreActionConfig
dotnet (8)
Commands\Tool\Execute\ToolExecuteCommand.cs (1)
35private readonly RestoreActionConfig _restoreActionConfig = new RestoreActionConfig(DisableParallel: result.GetValue(ToolCommandRestorePassThroughOptions.DisableParallelOption),
Commands\Tool\Install\ToolInstallGlobalOrToolPathCommand.cs (1)
91_restoreActionConfig = new RestoreActionConfig(DisableParallel: parseResult.GetValue(ToolCommandRestorePassThroughOptions.DisableParallelOption),
Commands\Tool\Install\ToolInstallLocalCommand.cs (1)
62restoreActionConfig = new RestoreActionConfig(DisableParallel: parseResult.GetValue(ToolCommandRestorePassThroughOptions.DisableParallelOption),
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
72_restoreActionConfig = new RestoreActionConfig(DisableParallel: result.GetValue(ToolCommandRestorePassThroughOptions.DisableParallelOption),
Commands\Workload\Search\WorkloadSearchVersionsCommand.cs (1)
77restoreActionConfig: new RestoreActionConfig(interactive),
Commands\Workload\WorkloadCommandNuGetRestoreActionConfigOptions.cs (1)
72return new RestoreActionConfig(DisableParallel: parseResult.GetValue(DisableParallelOption),
Commands\Workload\WorkloadInfoHelper.cs (1)
53var restoreConfig = new RestoreActionConfig(Interactive: isInteractive);
NugetPackageDownloader\NuGetPackageDownloader.cs (1)
72_restoreActionConfig = restoreActionConfig ?? new RestoreActionConfig();
Microsoft.DotNet.PackageInstall.Tests (9)
NuGetPackageInstallerExtractTests.cs (3)
27new MockFirstPartyNuGetPackageSigningVerifier(), logger, restoreActionConfig: new RestoreActionConfig(NoCache: true)); 48new MockFirstPartyNuGetPackageSigningVerifier(), logger, restoreActionConfig: new RestoreActionConfig(NoCache: true)); 70new MockFirstPartyNuGetPackageSigningVerifier(), logger, restoreActionConfig: new RestoreActionConfig(NoCache: true));
NuGetPackageInstallerTests.cs (6)
40restoreActionConfig: new RestoreActionConfig(NoCache: true), timer: () => ExponentialRetry.Timer(ExponentialRetry.TestingIntervals)); 43restoreActionConfig: new RestoreActionConfig(NoCache: true), timer: () => ExponentialRetry.Timer(ExponentialRetry.TestingIntervals), shouldUsePackageSourceMapping: true); 80_logger, restoreActionConfig: new RestoreActionConfig(IgnoreFailedSources: true, NoCache: true)); 237_logger, bufferedReporter, restoreActionConfig: new RestoreActionConfig(NoCache: true)); 261_logger, bufferedReporter, restoreActionConfig: new RestoreActionConfig(NoCache: true), verbosityOptions: VerbosityOptions.quiet); 295_logger, restoreActionConfig: new RestoreActionConfig(NoCache: true));
26 references to RestoreActionConfig
dotnet (23)
Commands\Tool\Execute\ToolExecuteCommand.cs (1)
35private readonly RestoreActionConfig _restoreActionConfig = new RestoreActionConfig(DisableParallel: result.GetValue(ToolCommandRestorePassThroughOptions.DisableParallelOption),
Commands\Tool\Install\ToolInstallGlobalOrToolPathCommand.cs (1)
52internal readonly RestoreActionConfig _restoreActionConfig;
Commands\Tool\Install\ToolInstallLocalCommand.cs (1)
34internal RestoreActionConfig restoreActionConfig;
Commands\Tool\Install\ToolInstallLocalInstaller.cs (2)
25private readonly RestoreActionConfig _restoreActionConfig; 31RestoreActionConfig restoreActionConfig = null)
Commands\Tool\Restore\ToolPackageRestorer.cs (2)
21private readonly RestoreActionConfig _restoreActionConfig; 32RestoreActionConfig restoreActionConfig,
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
30private readonly RestoreActionConfig _restoreActionConfig;
Commands\Workload\Install\FileBasedInstaller.cs (2)
41private readonly RestoreActionConfig _restoreActionConfig; 54RestoreActionConfig restoreActionConfig = null,
Commands\Workload\Install\NetSdkMsiInstallerClient.cs (1)
1118RestoreActionConfig restoreActionConfig = null,
Commands\Workload\Install\WorkloadInstallerFactory.cs (1)
26RestoreActionConfig restoreActionConfig = null,
Commands\Workload\WorkloadCommandBase.cs (1)
38protected RestoreActionConfig RestoreActionConfiguration
Commands\Workload\WorkloadCommandNuGetRestoreActionConfigOptions.cs (1)
70public static RestoreActionConfig ToRestoreActionConfig(this ParseResult parseResult)
Commands\Workload\WorkloadInfoHelper.cs (1)
53var restoreConfig = new RestoreActionConfig(Interactive: isInteractive);
NugetPackageDownloader\NuGetPackageDownloader.cs (2)
32private readonly RestoreActionConfig _restoreActionConfig; 58RestoreActionConfig restoreActionConfig = null,
ToolPackage\IToolPackageDownloader.cs (2)
22RestoreActionConfig? restoreActionConfig = null 30RestoreActionConfig? restoreActionConfig = null
ToolPackage\ToolPackageDownloader.cs (1)
36RestoreActionConfig? restoreActionConfig)
ToolPackage\ToolPackageDownloaderBase.cs (3)
63RestoreActionConfig? restoreActionConfig); 100RestoreActionConfig? restoreActionConfig = null) 402RestoreActionConfig? restoreActionConfig = null)
Microsoft.DotNet.Tools.Tests.ComponentMocks (3)
ToolPackageDownloaderMock.cs (2)
104RestoreActionConfig? restoreActionConfig = null 317RestoreActionConfig? restoreActionConfig = null)
ToolPackageDownloaderMock2.cs (1)
96protected override INuGetPackageDownloader CreateNuGetPackageDownloader(bool verifySignatures, Cli.Utils.VerbosityOptions verbosity, RestoreActionConfig? restoreActionConfig)