24 writes to NuGetClientFactory
Aspire.Cli.Tests (24)
Commands\AddCommandTests.cs (1)
2131
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
Commands\InitCommandTests.cs (1)
51
options.
NuGetClientFactory
= _ => new FakeNuGetClient
Commands\NewCommandLocalTemplateTests.cs (1)
1994
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
Commands\NewCommandTests.cs (2)
742
options.
NuGetClientFactory
= _ => new FakeNuGetClient
2218
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
Commands\UpdateCommandRepositoryToolsTests.cs (1)
481
options.
NuGetClientFactory
= _ => new FakeNuGetClient
NuGet\BundleNuGetPackageCacheTests.cs (11)
24
configure.
NuGetClientFactory
= _ =>
54
configure.
NuGetClientFactory
= _ =>
97
configure.
NuGetClientFactory
= _ =>
138
configure.
NuGetClientFactory
= _ =>
179
configure.
NuGetClientFactory
= _ =>
211
configure.
NuGetClientFactory
= _ =>
245
configure.
NuGetClientFactory
= _ =>
300
configure.
NuGetClientFactory
= _ =>
332
configure.
NuGetClientFactory
= _ =>
366
configure.
NuGetClientFactory
= _ =>
401
configure.
NuGetClientFactory
= _ =>
NuGet\NuGetPackageCacheTests.cs (1)
59
configure.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
Projects\ProjectUpdaterNuGetConfigurationTests.cs (2)
488
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
1748
options.
NuGetClientFactory
= _ => client;
Projects\ProjectUpdaterTests.cs (4)
236
config.
NuGetClientFactory
= _ => client;
845
config.
NuGetClientFactory
= _ => new FakeNuGetClient
2083
config.
NuGetClientFactory
= _ => new FakeNuGetClient
4370
config.
NuGetClientFactory
= _ => new FakeNuGetClient
1 reference to NuGetClientFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
162
services.AddSingleton(options.
NuGetClientFactory
);