37 writes to NuGetClientFactory
Aspire.Cli.Tests (37)
Commands\AddCommandTests.cs (11)
108
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
367
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
482
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
559
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
722
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
812
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
881
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
944
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
1125
options.
NuGetClientFactory
= _ => nuGetClient;
1240
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
3370
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
Commands\InitCommandTests.cs (1)
53
options.
NuGetClientFactory
= _ => new FakeNuGetClient
Commands\NewCommandLocalTemplateTests.cs (1)
2046
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
Commands\NewCommandTests.cs (2)
742
options.
NuGetClientFactory
= _ => new FakeNuGetClient
2314
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
Commands\UpdateCommandRepositoryToolsTests.cs (1)
528
options.
NuGetClientFactory
= _ => new FakeNuGetClient
NuGet\BundleNuGetPackageCacheTests.cs (13)
24
options.
NuGetClientFactory
= _ => new FakeNuGetClient
50
options.
NuGetClientFactory
= _ => new FakeNuGetClient
79
configure.
NuGetClientFactory
= _ =>
109
configure.
NuGetClientFactory
= _ =>
152
configure.
NuGetClientFactory
= _ =>
193
configure.
NuGetClientFactory
= _ =>
234
configure.
NuGetClientFactory
= _ =>
266
configure.
NuGetClientFactory
= _ =>
300
configure.
NuGetClientFactory
= _ =>
355
configure.
NuGetClientFactory
= _ =>
387
configure.
NuGetClientFactory
= _ =>
421
configure.
NuGetClientFactory
= _ =>
456
configure.
NuGetClientFactory
= _ =>
NuGet\NuGetPackageCacheTests.cs (2)
72
configure.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
141
configure.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
Projects\ProjectUpdaterNuGetConfigurationTests.cs (2)
644
options.
NuGetClientFactory
= _ => NuGetTestHelper.CreateClient();
2045
options.
NuGetClientFactory
= _ => client;
Projects\ProjectUpdaterTests.cs (4)
238
config.
NuGetClientFactory
= _ => client;
849
config.
NuGetClientFactory
= _ => new FakeNuGetClient
2087
config.
NuGetClientFactory
= _ => new FakeNuGetClient
4379
config.
NuGetClientFactory
= _ => new FakeNuGetClient
1 reference to NuGetClientFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
161
services.AddSingleton(options.
NuGetClientFactory
);