1 interface inheriting from IServiceCollection
Microsoft.Maui (1)
2 implementations of IServiceCollection
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.Http (1)
3594 references to IServiceCollection
aspire (12)
src\Shared\Telemetry\AzureMonitorTelemetryProvider.cs (6)
40IServiceCollection services, ResourceBuilder resourceBuilder, string activitySourceName, string eventLogCategoryName,
45IServiceCollection services, ResourceBuilder resourceBuilder, string activitySourceName, string eventLogCategoryName,
51IServiceCollection services, ResourceBuilder resourceBuilder, string activitySourceName, string eventLogCategoryName,
58IServiceCollection services, ResourceBuilder resourceBuilder, string activitySourceName, string eventLogCategoryName,
85IServiceCollection services, ResourceBuilder resourceBuilder, string eventLogCategoryName,
90IServiceCollection services, ResourceBuilder resourceBuilder, string eventLogCategoryName,
Aspire.Azure.Messaging.EventHubs.Tests (1)
Aspire.Cli.Tests (1319)
Certificates\CertificateServiceTests.cs (12)
195var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
229var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
276var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
310var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
349var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
390var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
431var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
481var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
520var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
563var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
599var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
626var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\AddCommandTests.cs (84)
104var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
363var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
478var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
555var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
602var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
648var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
719var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
809var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
878var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
941var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1121var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1236var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1267var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1281var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1301var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1332var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1367var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1457var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1483var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1514var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1570var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1664var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1735var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1822var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1918var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2004var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2048var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2133var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2190var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2227var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2274var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2357var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2434var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2518var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2599var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2705var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2753var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2841var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2908var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2980var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3057var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3126var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3198var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3275var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3367var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3447var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3468var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3503var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3635var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3683var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3731var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3789var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3971var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4056var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4130var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4164var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4226var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4473var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4549var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4622var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4681var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4734var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4793var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4845var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4892var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4940var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4987var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5036var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5095var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5149var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5196var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5307var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5411var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5462var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5511var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5579var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5641var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5693var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5744var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5833var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5916var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
6004var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
6092var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
6172var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\AgentInitClientSelectionTests.cs (39)
29var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
82var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
137var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
164var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
243var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
267var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
299var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
340var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
372var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
422var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
508var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
557var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
595var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
636var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
687var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
734var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
762var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
806var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
870var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
907var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
930var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
986var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1024var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1055var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1080var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1123var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1152var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1179var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1231var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1264var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1311var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1345var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1367var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1397var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1426var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1469var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1532var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1559var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1620var services = CliTestHelper.CreateServiceCollection(context.Workspace, outputHelper, options =>
Commands\AgentInitCommandTests.cs (20)
379var services = context.CreateServiceCollection(outputHelper, options =>
440var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
460var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
479var services = context.CreateServiceCollection(outputHelper, options =>
508var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
525var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
549var services = context.CreateServiceCollection(outputHelper, options =>
616var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
635var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
654var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
671var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
691var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
727var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
751var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
784var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
823var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
863var services = context.CreateServiceCollection(outputHelper, options =>
908var services = context.CreateServiceCollection(outputHelper, options =>
1467var services = context.CreateServiceCollection(outputHelper, options =>
1496var services = context.CreateServiceCollection(outputHelper, options =>
Commands\AgentMcpCommandTests.cs (8)
44var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1591var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1609var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1665var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1698var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1731var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1760var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1795var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\AgentTelemetryCommandTests.cs (14)
26var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
62var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
97var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
134var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
161var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
193var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
223var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
256var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
282var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
309var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
331var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
347var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
362var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
376var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\ApiCommandTests.cs (5)
17var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
34var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
51var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
68var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
85var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\BaseCommandTests.cs (26)
39var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
59var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
85var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
111var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
136var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
155var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
213var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
239var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
270var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
313var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
359var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
391var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
425var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
484var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
535var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
563var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
616var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
655var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
692var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
718var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
747var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
792var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
818var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
839var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
861var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
878var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\ConfigCommandTests.cs (50)
89var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper,
117var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
131var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
156var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
169var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
194var reloadedServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
206var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
222var reloadedServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
249var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
262var reloadedServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
285var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
310var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
338var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
368var services1 = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
379var services2 = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
394var services1 = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
404var services2 = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
419var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
435var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
442var readerServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper,
476var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper,
492var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
517var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
546var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
575var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
601var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
627var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
649var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
670var services = CliTestHelper.CreateServiceCollection(
692var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options => options.DisabledFeatures = new[] { "testFeature" });
710var services = CliTestHelper.CreateServiceCollection(
734var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
748var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
759var newServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
771var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
783var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
815var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
834var reloadedServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
857var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
888var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
919var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
962var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
995var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1014var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1044var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1073var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1101var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1116var reloadedServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1141var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1159var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
Commands\ConfigSourceCommandTests.cs (17)
45var services = CreateCreationServices(workspace, disableConfigSource: true);
64var services = CreateCreationServices(workspace, disableConfigSource: true);
387var services = CreateCreationServices(workspace);
438var agentServices = CreateCreationServices(workspace);
509var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
887var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
970var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1007var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1050var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1292var services = CreateCreationServices(workspace);
1339var services = CreateCreationServices(workspace);
1403var services = CreateCreationServices(workspace);
1554var services = CreateCreationServices(workspace);
1599var services = CreateCreationServices(workspace);
1647var services = CreateCreationServices(workspace);
1671private IServiceCollection CreateCreationServices(TemporaryWorkspace workspace, bool disableConfigSource = false)
1673var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\DeployCommandTests.cs (12)
26var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
43var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
105var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
159var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
191var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
225var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
259var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
328var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
407var services = CliTestHelper.CreateServiceCollection(tempRepo, outputHelper, options =>
460var services = CliTestHelper.CreateServiceCollection(tempRepo, outputHelper, options =>
508var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
576var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\DescribeCommandTests.cs (15)
171var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
185var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
204var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
222var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
240var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
255var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
270var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
285var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
300var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
315var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
330var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
345var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1324var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1367var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1412var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\DestroyCommandTests.cs (9)
24var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
50var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
81var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
98var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
127var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
189var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
228var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
286var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
343var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\DoCommandTests.cs (23)
25var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
41var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
69var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
127var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
180var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
233var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
291var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
339var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
437var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
473var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
528var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
578var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
630var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
656var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
686var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
719var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
749var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
786var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
840var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
857var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
898var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
919var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
974var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\DocsCommandTests.cs (10)
17var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
35var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
52var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
69var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
87var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
105var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
123var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
140var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
190var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
239var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\DoctorCommandTests.cs (13)
26var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
93var services = CreateDoctorVersionServiceCollection(context.Workspace, outputHelper, options =>
207var services = CreateDoctorVersionServiceCollection(workspace, outputHelper, options =>
771var services = CreateDoctorVersionServiceCollection(workspace, outputHelper, options =>
836var services = CreateDoctorVersionServiceCollection(workspace, outputHelper, options =>
903var services = CreateDoctorVersionServiceCollection(workspace, outputHelper, options =>
937var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1021var services = CreateDoctorVersionServiceCollection(workspace, outputHelper, options =>
1086Action<IServiceCollection>? configureServices = null,
1090var services = CreateDoctorVersionServiceCollection(workspace, outputHelper, options =>
1111private static IServiceCollection CreateDoctorVersionServiceCollection(
1116var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure);
1136IServiceCollection services,
Commands\ExtensionInternalCommandTests.cs (9)
21var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
33var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
47var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
64var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
112var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
141var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
181var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
199var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
216var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
Commands\InitCommandTests.cs (58)
48var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
128var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
169var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
210var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
246var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
293var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
329var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
346var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
368var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
390var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
471var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
522var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
553var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
601var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
646var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
684var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
723var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
761var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
798var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
839var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
884var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
928var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
964var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1054var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1076var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1098var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1134var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1153var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1204var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1228var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1254var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1274var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1296var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1352var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1425var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1491var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1540var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1592var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1627var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1663var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1705var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1735var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1767var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1812var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1860var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1914var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1965var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2044var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2105var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2190var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2248var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2302var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2343var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2380var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2442var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2491var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2539var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2602var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\LogsCommandTests.cs (14)
23var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
125var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
145var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
162var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
182var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
201var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
216var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
232var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
247var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
262var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
775var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
884var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1025var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1606var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\LsCommandTests.cs (22)
29var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
44var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
62var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
77var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
104var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
144var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
184var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
225var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
258var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
298var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
341var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
385var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
433var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
477var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
500var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
531var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
569var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
636var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
681var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
712var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
741var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
772var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\McpCommandTests.cs (13)
17var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
32var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
46var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
60var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
74var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
90var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
104var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
119var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
133var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
147var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
161var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
176var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
192var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (7)
53var services = CreateServices(workspace, interaction, interactive: true);
100var services = CreateServices(workspace, interaction, interactive: true);
137var services = CreateServices(workspace, interaction, interactive: true);
183var services = CreateServices(workspace, interaction, interactive: true);
229var services = CreateServices(workspace, interaction, interactive: true);
280var services = CreateServices(workspace, interaction, interactive: true);
354var services = CreateServices(workspace, interaction, interactive: true);
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (13)
55var services = CreateServices(workspace, interaction, interactive: true);
108var services = CreateServices(workspace, interaction, interactive: true);
140var services = CreateServices(workspace, interaction, interactive: true);
173var services = CreateServices(workspace, interaction, interactive: true);
216var services = CreateServices(workspace, interaction, interactive: true);
260var services = CreateServices(workspace, interaction, interactive: true);
329var services = CreateServices(workspace, interaction, interactive: true);
397var services = CreateServices(workspace, interaction, interactive: true);
442var services = CreateServices(workspace, interaction, interactive: false);
482var services = CreateServices(workspace, interaction, interactive: true);
518var services = CreateServices(workspace, interaction, interactive: true);
560var services = CreateServices(workspace, interaction, interactive: true);
624var services = CreateServices(workspace, interaction, interactive: true);
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (6)
41var services = CreateServices(workspace, interaction, interactive: true);
288var services = CreateServices(workspace, interaction, interactive: true);
357var services = CreateServices(workspace, interaction, interactive: true);
398var services = CreateServices(workspace, interaction, interactive: true);
568var services = CreateServices(workspace, interaction, interactive: true);
618var services = CreateServices(workspace, interaction, interactive: true);
Commands\NewCommandLocalTemplateTests.cs (30)
629var services = CreateServices(workspace, interaction, interactive: false);
664var services = CreateServices(workspace, interaction, interactive: false);
727var services = CreateServices(workspace, interaction, interactive);
764var services = CreateServices(workspace, interaction, interactive);
802var services = CreateServices(workspace, interaction, interactive);
851var services = CreateServices(workspace, interaction, interactive: false);
935var services = CreateServices(workspace, interaction, interactive: false);
985var services = CreateServices(workspace, interaction, interactive: false);
1034var services = CreateServices(workspace, interaction, interactive: false);
1063var services = CreateServices(workspace, interaction, interactive: false);
1109var services = CreateServices(workspace, interaction, interactive: false);
1142var services = CreateServices(workspace, interaction, interactive: false);
1279var services = CreateServices(workspace, interaction, interactive);
1366var services = CreateServices(workspace, interaction, interactive: false);
1396var services = CreateServices(workspace, interaction, interactive: false);
1467var services = CreateServices(workspace, interaction, interactive);
1500var services = CreateServices(workspace, interaction, interactive: false);
1534var services = CreateServices(workspace, interaction, interactive: false);
1575var services = CreateServices(workspace, interaction, interactive: false);
1607var services = CreateServices(workspace, interaction, interactive: false);
1639var services = CreateServices(workspace, interaction, interactive: false);
1739var services = CreateServices(workspace, interaction, interactive: false);
1781var services = CreateServices(workspace, interaction, interactive: false);
1829var firstServices = CreateServices(workspace, new TestInteractionService(), interactive: false);
1832var secondServices = CreateServices(workspace, new TestInteractionService(), interactive: false);
1871var services = CreateServices(workspace, new TestInteractionService(), interactive: false);
1900var services = CreateServices(workspace, interaction, interactive: false);
1920var services = CreateServices(workspace, interaction, interactive: false);
1972var services = CreateServices(workspace, interaction, interactive: false);
2036private IServiceCollection CreateServices(TemporaryWorkspace workspace, TestInteractionService interaction, bool interactive)
Commands\NewCommandLocalTemplateTests.HostConfiguration.cs (6)
251var services = CreateServices(workspace, interaction, interactive: true);
279var services = CreateServices(workspace, interaction, interactive: true);
321var services = CreateServices(workspace, interaction, interactive: false);
366var services = CreateServices(workspace, interaction, interactive: false);
419var services = CreateServices(workspace, interaction, interactive: true);
485var services = CreateServices(workspace, interaction, interactive);
Commands\NewCommandLocalTemplateTests.NuGetValues.cs (10)
51var services = CreateServices(workspace, interaction, interactive);
117var services = CreateServices(workspace, interaction, interactive: false);
180var services = CreateServices(workspace, interaction, interactive: false);
220var services = CreateServices(workspace, interaction, interactive: false);
247var services = CreateServices(workspace, interaction, interactive: false);
317var services = CreateServices(workspace, interaction, interactive);
359var services = CreateServices(workspace, interaction, interactive: false);
420var services = CreateServices(workspace, new TestInteractionService(), interactive: false);
449var services = CreateServices(workspace, interaction, interactive: false);
498var services = CreateServices(workspace, interaction, interactive: false);
Commands\NewCommandTests.cs (85)
37var services = CreateServiceCollection(workspace);
83var services = CreateServiceCollection(workspace, options =>
111var services = CreateServiceCollection(workspace);
123var services = CreateServiceCollection(workspace, options =>
142var configServices = CreateServiceCollection(workspace);
167var services = CreateServiceCollection(workspace, options =>
199var services = CreateServiceCollection(workspace);
223var services = CreateServiceCollection(workspace, options => options.DotNetCliRunnerFactory = _ => runner);
258var services = CreateServiceCollection(workspace, options =>
297var services = CreateServiceCollection(workspace, options =>
329var services = CreateServiceCollection(workspace, options =>
363var services = CreateServiceCollection(workspace, options =>
444var services = CreateServiceCollection(workspace, options =>
522var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
600var services = CreateServiceCollection(workspace, options =>
632var services = CreateServiceCollection(workspace, options =>
664var services = CreateServiceCollection(workspace, options =>
700var services = CreateServiceCollection(workspace, options =>
734private IServiceCollection CreateServiceCollection(
785var services = CreateServiceCollection(workspace, options =>
856var services = CreateServiceCollection(workspace, options =>
905var services = CreateServiceCollection(workspace, options =>
968var services = CreateServiceCollection(workspace, options =>
1018var services = CreateServiceCollection(workspace, options =>
1038var services = CreateServiceCollection(workspace, options =>
1083var services = CreateServiceCollection(workspace, options =>
1124var services = CreateServiceCollection(workspace, options =>
1192var services = CreateServiceCollection(workspace, options =>
1242var services = CreateServiceCollection(workspace);
1316var services = CreateServiceCollection(workspace, options =>
1361var services = CreateServiceCollection(workspace, options =>
1394var services = CreateServiceCollection(workspace, options =>
1446var services = CreateServiceCollection(workspace);
1468var services = CreateServiceCollection(workspace, options =>
1503var services = CreateServiceCollection(workspace, options =>
1537var services = CreateServiceCollection(workspace, options =>
1569var services = CreateServiceCollection(workspace, options =>
1606var services = CreateServiceCollection(workspace, options =>
1642var services = CreateServiceCollection(workspace);
1669var services = CreateServiceCollection(workspace);
1695var services = CreateServiceCollection(workspace, options =>
1737var services = CreateServiceCollection(workspace, options => options.NuGetPackageCacheFactory = _ => cache);
1770var services = CreateServiceCollection(workspace);
1804var services = CreateServiceCollection(workspace);
1851var services = CreateServiceCollection(workspace, options =>
1910var services = CreateServiceCollection(workspace);
1937var services = CreateServiceCollection(workspace, options =>
1985var services = CreateServiceCollection(workspace, options =>
2033var services = CreateServiceCollection(workspace, options =>
2112var services = CreateServiceCollection(workspace, options =>
2187var services = CreateServiceCollection(workspace, options =>
2253var services = CreateServiceCollection(workspace, options =>
2312var services = CreateServiceCollection(workspace, options =>
2371var services = CreateServiceCollection(workspace, options =>
2420var services = CreateServiceCollection(workspace, options =>
2447var services = CreateServiceCollection(workspace, options =>
2472var services = CreateServiceCollection(workspace, options =>
2506var services = CreateServiceCollection(workspace, options =>
2533var services = CreateServiceCollection(workspace, options =>
2583var services = CreateServiceCollection(workspace, options =>
2627var services = CreateServiceCollection(workspace, options =>
2673var services = CreateServiceCollection(workspace, options =>
2714var services = CreateServiceCollection(workspace, options =>
2762var services = CreateServiceCollection(workspace, options =>
2797var services = CreateServiceCollection(workspace, options =>
2856var services = CreateServiceCollection(workspace, options =>
2915var services = CreateServiceCollection(workspace, options =>
2976var services = CreateServiceCollection(workspace, options =>
3044var services = CreateServiceCollection(workspace, options =>
3101var services = CreateServiceCollection(workspace, options =>
3184var services = CreateServiceCollection(workspace, options =>
3247var services = CreateServiceCollection(workspace, options =>
3319var services = CreateServiceCollection(workspace, options =>
3383var services = CreateServiceCollection(workspace, options =>
3448var services = CreateServiceCollection(workspace, options =>
3474var services = CreateServiceCollection(workspace, options =>
3500var services = CreateServiceCollection(workspace, options =>
3529var services = CreateServiceCollection(workspace, options =>
3560var services = CreateServiceCollection(workspace, options =>
3593var services = CreateServiceCollection(workspace, options =>
3622var services = CreateServiceCollection(workspace);
3642var services = CreateServiceCollection(workspace, options =>
3674var services = CreateServiceCollection(workspace, options =>
3707var services = CreateServiceCollection(workspace, options =>
3759var services = CreateServiceCollection(workspace, options =>
Commands\PsCommandTests.cs (22)
38var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
53var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
72var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
90var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
105var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
153var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
205var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
243var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
289var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
331var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
376var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
409var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
450var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
475var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
510var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
550var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
592var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
640var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
684var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
728var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
775var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
814var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\PublishCommandPromptingIntegrationTests.cs (20)
35var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
81var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
133var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
180var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
226var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
276var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
311var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
358var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
437var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
505var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
557var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
612var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
683var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
727var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
770var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
820var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
866var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
906var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
952var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
986var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\PublishCommandTests.cs (6)
20var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
35var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
64var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
95var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
126var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
169var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\ResourceCommandTests.cs (35)
26var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
111var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
174var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
221var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
313var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
332var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
349var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
369var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
386var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
400var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
422var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
518var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
575var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
602var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
639var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
674var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
712var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
745var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
772var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
799var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
826var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
853var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
909var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
973var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1552var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1588var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1623var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1745var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1982var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2002var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2038var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2140var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2231var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2305var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2367var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\RootCommandTests.cs (35)
22var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
46var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
69var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
93var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
143var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
176var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
209var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
223var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
238var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
262var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
279var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
302var normalServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
308var extensionServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
331var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
360var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
383var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
405var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
427var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
457var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
480var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
513var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
539var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
562var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
587var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
611var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
648var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
673var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
694var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
715var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
739var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
756var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
769var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
785var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
809var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
832var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
Commands\RunCommandTests.cs (80)
48var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
80var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
110var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
137var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
176var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
230var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
276var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
312var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
333var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
378var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
419var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
467var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
505var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
625var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
694var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
742var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
805var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
919var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1022var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1127var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1201var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1238var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1263var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1286var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1303var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1366var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1396var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1425var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1458var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1490var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1541var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1570var parentServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1600var childServices = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1655var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1686var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1791var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1861var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1929var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1985var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2045var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2116var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2193var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2309var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2370var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2422var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2494var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2651var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2712var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2833var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2901var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2947var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2995var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3039var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3101var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3211var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3311var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3381var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3450var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3512var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3565var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3647var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3706var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3761var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3818var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3877var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3904var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3952var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3996var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
4044var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
4087var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
4131var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
4175var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
4285var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4366var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4428var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
4448var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
5062var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, testOptions =>
5288var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5363var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
5412var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\SdkDumpCommandTests.cs (16)
30var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
52var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
65var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
80var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
95var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
110var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
125var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
140var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
153var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
166var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
179var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
194var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
209var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
224var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
237var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
271var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
Commands\SdkInstallerTests.cs (6)
31var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
56var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
81var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
118var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
156var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
181var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\StartCommandTests.cs (18)
41var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
63var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
78var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
100var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
114var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
128var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
144var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
175var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
204var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
229var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
271var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
307var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
338var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
374var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
491var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, testOptions =>
655var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
676var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
690var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
Commands\StopCommandTests.cs (51)
34var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
49var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
80var services = CreateInstanceStopServices(workspace, monitor, interactionService, processFactory, interactive);
150var services = CreateInstanceStopServices(workspace, monitor, interactionService, processFactory, interactive: false);
194var services = CreateInstanceStopServices(workspace, monitor, interactionService, processFactory, interactive: false);
215var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
242var services = CreateInstanceStopServices(workspace, monitor, interactionService, processFactory, interactive: false);
281var services = CreateInstanceStopServices(workspace, monitor, interactionService, processFactory, interactive: false);
312var services = CreateInstanceStopServices(workspace, monitor, interactionService, processFactory, interactive: true);
328var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
355var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
396var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
432var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
468var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
520var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
555var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
595var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
634var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
672var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
717var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
754var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
789var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
833var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
873var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
905var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
944var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
983var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1020var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1061var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1101var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1141var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1186var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1233var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1267var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1305var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1343var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1377var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1417var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1438var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1460var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1498var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1525var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1566var services = CreateInstanceStopServices(workspace, monitor, interactionService, new TestProcessExecutionFactory(), interactive: false);
1607var services = CreateInstanceStopServices(workspace, monitor, interactionService, new TestProcessExecutionFactory(), interactive: false);
1639var services = CreateInstanceStopServices(workspace, monitor, interactionService, new TestProcessExecutionFactory(), interactive: false);
1692var services = CreateInstanceStopServices(workspace, monitor, interactionService, new TestProcessExecutionFactory(), interactive: false, options =>
1726var services = CreateInstanceStopServices(workspace, monitor, interactionService, new TestProcessExecutionFactory(), interactive: false);
1756var services = CreateInstanceStopServices(workspace, monitor, interactionService, new TestProcessExecutionFactory(), interactive: false);
1787var services = CreateStopForceServices(workspace, interactionService, processFactory, options =>
1813private IServiceCollection CreateStopForceServices(
1884private IServiceCollection CreateInstanceStopServices(
Commands\TelemetryLogsCommandTests.cs (14)
26var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
44var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
209var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
261var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
286var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
309var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
350var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
393var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
432var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
462var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
502var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
556var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
639var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
705var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\TelemetrySpansCommandTests.cs (9)
25var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
43var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
211var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
238var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
274var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
314var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
397var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
468var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
515var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\TelemetryTracesCommandTests.cs (11)
28var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
119var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
206var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
241var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
746var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
773var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
809var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
891var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
975var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1024var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1071var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\TestCommandTests.cs (24)
105var services = CreateServices(workspace, appHostFile, factory);
213var services = CreateServices(workspace, appHostFile, factory);
278var services = CreateServices(workspace, appHostFile, factory);
354var services = CreateServices(workspace, appHostFile, factory);
409var services = CreateServices(workspace, appHostFile, factory);
464var services = CreateServices(workspace, appHostFile, factory);
493var services = CreateServices(workspace, appHostFile, factory);
563var services = CreateServices(workspace, appHostFile, factory);
646var services = CreateServices(workspace, appHostFile, factory);
711var services = CreateServices(workspace, appHostFile, factory);
764var services = CreateServices(workspace, appHostFile, factory);
877var services = CreateServices(workspace, appHostFile, factory);
936var services = CreateServices(workspace, appHostFile, factory);
978var services = CreateServices(workspace, appHostFile, factory);
1028var services = CreateServices(workspace, appHostFile, factory);
1082var services = CreateServices(workspace, appHostFile, factory);
1125var services = CreateServices(workspace, appHostFile, factory);
1144var services = CreateServices(workspace, appHostFile, factory);
1174var services = CreateServices(workspace, appHostFile, factory);
1291var services = CreateServices(workspace, appHostFile, factory);
1378var services = CreateServices(workspace, appHostFile, factory);
1419var services = CreateServices(workspace, appHostFile, factory);
1471var services = CreateServices(workspace, appHostFile, factory);
1490private IServiceCollection CreateServices(TemporaryWorkspace workspace, FileInfo appHostFile, TestAppHostProjectFactory factory)
Commands\TrayProtocolCommandTests.cs (7)
29var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
62var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
92var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
110var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
178var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
232var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configuration =>
279var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configuration =>
Commands\UpdateCommandRepositoryToolsTests.cs (9)
34var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
83var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
164var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
243var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
286var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
341var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
376var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
407var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
525var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\UpdateCommandTests.cs (57)
36var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
50var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
69var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
97var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
143var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
259var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
305var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
388var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
446var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
500var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
555var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
612var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
691var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
768var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
843var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
886var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
927var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1011var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1087var services = CreateMigrationUpdateServices(workspace, interactionService, pendingMigration);
1123var services = CreateMigrationUpdateServices(workspace, interactionService, pendingMigration);
1150var services = CreateMigrationUpdateServices(workspace, interactionService, migration);
1180var services = CreateMigrationUpdateServices(workspace, interactionService, migration);
1203private IServiceCollection CreateMigrationUpdateServices(
1208var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1261var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1285var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1320var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1379var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1483var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1505var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1545var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1591var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1625var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1669var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1697var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1747var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1783var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1848var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1912var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1970var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2047var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2096var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2263var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2328var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2549var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2648var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2712var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
2786var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3226var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3328var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3355var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3398var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3443var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3486var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3520var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3658var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
3834var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
Commands\WaitCommandTests.cs (15)
22var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
37var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
52var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
66var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
80var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
94var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
111var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
128var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
156var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
197var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
235var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
266var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
303var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
334var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
376var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
DotNet\DotNetCliRunnerTests.cs (62)
309var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
594var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
643var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
682var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
718var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
760var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
799var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
827var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
859var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
969var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1059var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1100var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1137var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1174var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1211var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1239var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1276var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1317var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1362var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1421var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1479var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1514var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1554var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1596var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1651var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1726var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1774var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1820var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1862var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
1904var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
1957var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2024var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2090var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2172var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2213var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2243var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2290var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2336var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2373var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2410var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2450var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2495var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2547var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2596var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2644var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2681var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2750var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2788var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2831var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2873var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
2913var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3006var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3099var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3147var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3190var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3281var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3338var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3408var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3446var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3484var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3524var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
3563var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
NuGet\BundleNuGetPackageCacheTests.cs (13)
22var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
48var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
77var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
107var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
147var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
191var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
232var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
264var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
298var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
353var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
385var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
419var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
454var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
NuGet\NuGetPackageCacheTests.cs (11)
20var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
69var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
139var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
193var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
226var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
265var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
337var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
377var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
421var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
456var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
494var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
NuGet\NuGetPackagePrefetcherTests.cs (9)
50var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
70var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, options =>
239var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
253var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
271var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
286var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
311var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
327var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
343var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
Packaging\IntegrationSourceTests.cs (6)
227var services = CliTestHelper.CreateServiceCollection(workspace, output, options =>
287var services = CliTestHelper.CreateServiceCollection(workspace, output);
358var services = CliTestHelper.CreateServiceCollection(workspace, output, options =>
408var services = CliTestHelper.CreateServiceCollection(workspace, output, options =>
439var services = CliTestHelper.CreateServiceCollection(workspace, output, options =>
466var services = CliTestHelper.CreateServiceCollection(workspace, output);
Projects\ProjectUpdaterTests.cs (41)
93var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
236var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
354var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
455var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
580var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
734var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
847var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1007var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1135var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1295var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1414var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1517var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1643var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1737var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1812var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1907var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
1969var services = CreateNuGetConfigTestServices(workspace, "9.5.0", PackageSources.NuGetOrg, verifySearch: null);
2013var services = CreateNuGetConfigTestServices(
2052var services = CreateNuGetConfigTestServices(workspace, "9.5.0-preview.1", DailyPackageSource, verifySearch: null);
2078private IServiceCollection CreateNuGetConfigTestServices(
2257var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
2373var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
2494var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
2607var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
2703var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
2812var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
2897var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
2974var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3058var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3153var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3245var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3321var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3401var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3491var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3570var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3648var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
3802var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
4185var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
4300var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
4377var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
4463var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, config =>
Utils\CliUpdateNotificationServiceTests.cs (11)
25var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
72var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
116var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
157var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
185var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
223var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
259var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
296var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
332var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper, configure =>
368var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
393var services = CliTestHelper.CreateServiceCollection(workspace, outputHelper);
Aspire.Dashboard (6)
src\Shared\Telemetry\AzureMonitorTelemetryProvider.cs (6)
40IServiceCollection services, ResourceBuilder resourceBuilder, string activitySourceName, string eventLogCategoryName,
45IServiceCollection services, ResourceBuilder resourceBuilder, string activitySourceName, string eventLogCategoryName,
51IServiceCollection services, ResourceBuilder resourceBuilder, string activitySourceName, string eventLogCategoryName,
58IServiceCollection services, ResourceBuilder resourceBuilder, string activitySourceName, string eventLogCategoryName,
85IServiceCollection services, ResourceBuilder resourceBuilder, string eventLogCategoryName,
90IServiceCollection services, ResourceBuilder resourceBuilder, string eventLogCategoryName,
Aspire.Dashboard.Components.Tests (7)
Aspire.Dashboard.Playwright.Tests (7)
Aspire.Dashboard.Tests (4)
Aspire.Hosting (18)
Aspire.Hosting.Azure.Sql (1)
Aspire.Hosting.DevTunnels.Tests (1)
Aspire.Hosting.JavaScript.Tests (1)
Aspire.Hosting.Native.Core.Tests (2)
Aspire.Hosting.RemoteHost (1)
Aspire.Hosting.RemoteHost.Tests (3)
Aspire.Hosting.Testing (4)
Aspire.Hosting.Testing.Tests (6)
Aspire.Hosting.TestUtilities (8)
Aspire.Playground.Tests (2)
Binding.UDS.IntegrationTests (7)
blazor-devserver (1)
ConfigurationSchemaGenerator.Tests (1)
DotNetHostedAgent (3)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore (17)
Microsoft.AspNetCore.Antiforgery (11)
Microsoft.AspNetCore.AsyncState (3)
Microsoft.AspNetCore.AsyncState.Tests (1)
Microsoft.AspNetCore.Authentication (9)
Microsoft.AspNetCore.Authentication.Abstractions (1)
Microsoft.AspNetCore.Authentication.Core (7)
Microsoft.AspNetCore.Authorization (13)
Microsoft.AspNetCore.Authorization.Policy (20)
Microsoft.AspNetCore.Components (47)
CascadingValueServiceCollectionExtensions.cs (26)
11/// Extension methods for configuring cascading values on an <see cref="IServiceCollection"/>.
20/// <param name="serviceCollection">The <see cref="IServiceCollection"/>.</param>
22/// <returns>The <see cref="IServiceCollection"/>.</returns>
23public static IServiceCollection AddCascadingValue<TValue>(
24this IServiceCollection serviceCollection, Func<IServiceProvider, TValue> initialValueFactory)
32/// <param name="serviceCollection">The <see cref="IServiceCollection"/>.</param>
35/// <returns>The <see cref="IServiceCollection"/>.</returns>
36public static IServiceCollection AddCascadingValue<TValue>(
37this IServiceCollection serviceCollection, string name, Func<IServiceProvider, TValue> initialValueFactory)
49/// <param name="serviceCollection">The <see cref="IServiceCollection"/>.</param>
51/// <returns>The <see cref="IServiceCollection"/>.</returns>
52public static IServiceCollection AddCascadingValue<TValue>(
53this IServiceCollection serviceCollection, Func<IServiceProvider, CascadingValueSource<TValue>> sourceFactory)
60/// <param name="serviceCollection">The <see cref="IServiceCollection"/>.</param>
62/// <returns>The <see cref="IServiceCollection"/>.</returns>
63public static IServiceCollection TryAddCascadingValueSupplier<TAttribute>(
64this IServiceCollection serviceCollection,
80/// <param name="serviceCollection">The <see cref="IServiceCollection"/>.</param>
82/// <returns>The <see cref="IServiceCollection"/>.</returns>
84this IServiceCollection serviceCollection, Func<IServiceProvider, TValue> valueFactory)
97/// <param name="serviceCollection">The <see cref="IServiceCollection"/>.</param>
100/// <returns>The <see cref="IServiceCollection"/>.</returns>
102this IServiceCollection serviceCollection, string name, Func<IServiceProvider, TValue> valueFactory)
119/// <param name="serviceCollection">The <see cref="IServiceCollection"/>.</param>
121/// <returns>The <see cref="IServiceCollection"/>.</returns>
123this IServiceCollection serviceCollection, Func<IServiceProvider, CascadingValueSource<TValue>> sourceFactory)
Microsoft.AspNetCore.Components.Authorization (4)
Microsoft.AspNetCore.Components.Endpoints (10)
Microsoft.AspNetCore.Components.Platform (4)
Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter (3)
Microsoft.AspNetCore.Components.Server (12)
Microsoft.AspNetCore.Components.Testing (9)
Microsoft.AspNetCore.Components.Web (6)
Microsoft.AspNetCore.Components.WebAssembly (3)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (42)
WebAssemblyAuthenticationServiceCollectionExtensions.cs (38)
26/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
29public static IServiceCollection AddAuthenticationStateDeserialization(this IServiceCollection services, Action<AuthenticationStateDeserializationOptions>? configure = null)
48/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
49/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
54this IServiceCollection services)
81private static void AddAuthenticationStateProvider<[DynamicallyAccessedMembers(JsonSerialized)] TRemoteAuthenticationState>(IServiceCollection services) where TRemoteAuthenticationState : RemoteAuthenticationState
93/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
95/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
98this IServiceCollection services, Action<RemoteAuthenticationOptions<TProviderOptions>>? configure)
115/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
117/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
119this IServiceCollection services, Action<RemoteAuthenticationOptions<OidcProviderOptions>> configure)
128/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
130/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
132this IServiceCollection services, Action<RemoteAuthenticationOptions<OidcProviderOptions>> configure)
143/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
145/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
148this IServiceCollection services, Action<RemoteAuthenticationOptions<OidcProviderOptions>> configure)
160/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
161/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
162public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddApiAuthorization(this IServiceCollection services)
171/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
172/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
173public static IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount> AddApiAuthorization<[DynamicallyAccessedMembers(JsonSerialized)] TRemoteAuthenticationState>(this IServiceCollection services)
184/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
185/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
187this IServiceCollection services)
197/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
199/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
201this IServiceCollection services, Action<RemoteAuthenticationOptions<ApiAuthorizationProviderOptions>> configure)
210/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
212/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
214this IServiceCollection services, Action<RemoteAuthenticationOptions<ApiAuthorizationProviderOptions>> configure)
225/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
227/// <returns>The <see cref="IServiceCollection"/> where the services were registered.</returns>
229this IServiceCollection services, Action<RemoteAuthenticationOptions<ApiAuthorizationProviderOptions>> configure)
237IServiceCollection services,
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Components.WebView (4)
Microsoft.AspNetCore.Components.WebView.Maui (12)
Microsoft.AspNetCore.Components.WebView.WindowsForms (13)
Microsoft.AspNetCore.Components.WebView.Wpf (13)
Microsoft.AspNetCore.CookiePolicy (6)
Microsoft.AspNetCore.Cors (11)
Microsoft.AspNetCore.DataProtection (13)
Microsoft.AspNetCore.Diagnostics (10)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (3)
Microsoft.AspNetCore.Diagnostics.HealthChecks (2)
Microsoft.AspNetCore.Diagnostics.Middleware (47)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (11)
Microsoft.AspNetCore.HeaderParsing (9)
Microsoft.AspNetCore.HeaderParsing.Tests (3)
Microsoft.AspNetCore.HeaderPropagation (10)
Microsoft.AspNetCore.HostFiltering (3)
Microsoft.AspNetCore.Hosting (63)
Microsoft.AspNetCore.Hosting.Abstractions (9)
Microsoft.AspNetCore.Http (9)
Microsoft.AspNetCore.Http.Connections (11)
Microsoft.AspNetCore.Http.Extensions (13)
Microsoft.AspNetCore.HttpLogging (13)
Microsoft.AspNetCore.HttpOverrides (5)
Microsoft.AspNetCore.HttpsPolicy (6)
Microsoft.AspNetCore.Identity (16)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (1)
Microsoft.AspNetCore.Identity.UI (5)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Localization (8)
Microsoft.AspNetCore.MiddlewareAnalysis (6)
Microsoft.AspNetCore.Mvc (44)
MvcServiceCollectionExtensions.cs (44)
21/// Extension methods for setting up MVC services in an <see cref="IServiceCollection" />.
26/// Adds MVC services to the specified <see cref="IServiceCollection" />.
28/// <param name="services">The <see cref="IServiceCollection" /> to add services to.</param>
31public static IMvcBuilder AddMvc(this IServiceCollection services)
40/// Adds MVC services to the specified <see cref="IServiceCollection" />.
42/// <param name="services">The <see cref="IServiceCollection" /> to add services to.</param>
46public static IMvcBuilder AddMvc(this IServiceCollection services, Action<MvcOptions> setupAction)
58/// Adds services for controllers to the specified <see cref="IServiceCollection"/>. This method will not
61/// <param name="services">The <see cref="IServiceCollection" /> to add services to.</param>
66/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.AddMvcCore(IServiceCollection)"/>,
74/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/>
78/// To add services for pages call <see cref="AddRazorPages(IServiceCollection)"/>
83public static IMvcBuilder AddControllers(this IServiceCollection services)
92/// Adds services for controllers to the specified <see cref="IServiceCollection"/>. This method will not
95/// <param name="services">The <see cref="IServiceCollection" /> to add services to.</param>
101/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.AddMvcCore(IServiceCollection)"/>,
109/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/>
113/// To add services for pages call <see cref="AddRazorPages(IServiceCollection)"/>
118public static IMvcBuilder AddControllers(this IServiceCollection services, Action<MvcOptions>? configure)
132private static IMvcCoreBuilder AddControllersCore(IServiceCollection services)
153/// Adds services for controllers to the specified <see cref="IServiceCollection"/>. This method will not
156/// <param name="services">The <see cref="IServiceCollection" /> to add services to.</param>
161/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.AddMvcCore(IServiceCollection)"/>,
172/// To add services for pages call <see cref="AddRazorPages(IServiceCollection)"/>.
176public static IMvcBuilder AddControllersWithViews(this IServiceCollection services)
185/// Adds services for controllers to the specified <see cref="IServiceCollection"/>. This method will not
188/// <param name="services">The <see cref="IServiceCollection" /> to add services to.</param>
194/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.AddMvcCore(IServiceCollection)"/>,
205/// To add services for pages call <see cref="AddRazorPages(IServiceCollection)"/>.
209public static IMvcBuilder AddControllersWithViews(this IServiceCollection services, Action<MvcOptions>? configure)
223private static IMvcCoreBuilder AddControllersWithViewsCore(IServiceCollection services)
236/// Adds services for pages to the specified <see cref="IServiceCollection"/>.
238/// <param name="services">The <see cref="IServiceCollection" /> to add services to.</param>
243/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.AddMvcCore(IServiceCollection)"/>,
250/// To add services for controllers for APIs call <see cref="AddControllers(IServiceCollection)"/>.
253/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/>.
257public static IMvcBuilder AddRazorPages(this IServiceCollection services)
266/// Adds services for pages to the specified <see cref="IServiceCollection"/>.
268/// <param name="services">The <see cref="IServiceCollection" /> to add services to.</param>
274/// combines the effects of <see cref="MvcCoreServiceCollectionExtensions.AddMvcCore(IServiceCollection)"/>,
281/// To add services for controllers for APIs call <see cref="AddControllers(IServiceCollection)"/>.
284/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/>.
288public static IMvcBuilder AddRazorPages(this IServiceCollection services, Action<RazorPagesOptions>? configure)
301private static IMvcCoreBuilder AddRazorPagesCore(IServiceCollection services)
Microsoft.AspNetCore.Mvc.ApiExplorer (4)
Microsoft.AspNetCore.Mvc.Core (35)
Microsoft.AspNetCore.Mvc.Cors (1)
Microsoft.AspNetCore.Mvc.DataAnnotations (3)
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
Microsoft.AspNetCore.Mvc.Localization (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.Mvc.RazorPages (2)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (10)
Microsoft.AspNetCore.OpenApi (22)
Microsoft.AspNetCore.OutputCaching (6)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (6)
Microsoft.AspNetCore.RateLimiting (7)
Microsoft.AspNetCore.RequestDecompression (8)
Microsoft.AspNetCore.ResponseCaching (6)
Microsoft.AspNetCore.ResponseCompression (8)
Microsoft.AspNetCore.Routing (20)
Microsoft.AspNetCore.Session (8)
Microsoft.AspNetCore.SignalR (7)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Common (1)
Microsoft.AspNetCore.SignalR.Core (7)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.StaticFiles (4)
Microsoft.AspNetCore.TestHost (6)
Microsoft.AspNetCore.Testing (1)
Microsoft.AspNetCore.Testing.Tests (1)
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
Microsoft.AspNetCore.WebSockets (4)
Microsoft.Authentication.WebAssembly.Msal (11)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.Extensions.AI (65)
Microsoft.Extensions.AI.Tests (4)
Microsoft.Extensions.AmbientMetadata.Application (4)
Microsoft.Extensions.AmbientMetadata.Application.Tests (2)
Microsoft.Extensions.AmbientMetadata.Build (10)
Microsoft.Extensions.AmbientMetadata.Build.Tests (2)
Microsoft.Extensions.AsyncState (2)
Microsoft.Extensions.Caching.Hybrid (18)
Microsoft.Extensions.Caching.Hybrid.Tests (4)
Microsoft.Extensions.Caching.Memory (23)
Microsoft.Extensions.Caching.SqlServer (7)
Microsoft.Extensions.Caching.StackExchangeRedis (6)
Microsoft.Extensions.Compliance.Abstractions (1)
Microsoft.Extensions.Compliance.Abstractions.Tests (1)
Microsoft.Extensions.Compliance.Redaction (10)
Microsoft.Extensions.Compliance.Redaction.Tests (1)
Microsoft.Extensions.Compliance.Testing (4)
Microsoft.Extensions.Compliance.Testing.Tests (3)
Microsoft.Extensions.DependencyInjection (15)
Microsoft.Extensions.DependencyInjection.Abstractions (406)
Extensions\ServiceCollectionDescriptorExtensions.cs (95)
11/// Extension methods for adding and removing services to an <see cref="IServiceCollection" />.
18/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
20/// <returns>A reference to the current instance of <see cref="IServiceCollection"/>.</returns>
21public static IServiceCollection Add(
22this IServiceCollection collection,
35/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
37/// <returns>A reference to the current instance of <see cref="IServiceCollection"/>.</returns>
38public static IServiceCollection Add(
39this IServiceCollection collection,
57/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
60this IServiceCollection collection,
84/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
87this IServiceCollection collection,
103/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
105/// <seealso cref="ServiceCollectionServiceExtensions.AddTransient(IServiceCollection, Type)"/>
107this IServiceCollection collection,
122/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
125/// <seealso cref="ServiceCollectionServiceExtensions.AddTransient(IServiceCollection, Type, Type)"/>
127this IServiceCollection collection,
144/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
147/// <seealso cref="ServiceCollectionServiceExtensions.AddTransient(IServiceCollection, Type, Func{IServiceProvider, object})"/>
149this IServiceCollection collection,
166/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
167/// <seealso cref="ServiceCollectionServiceExtensions.AddTransient{TService}(IServiceCollection)"/>
168public static void TryAddTransient<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection)
183/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
184/// <seealso cref="ServiceCollectionServiceExtensions.AddTransient{TService, TImplementation}(IServiceCollection)"/>
185public static void TryAddTransient<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection)
200/// <param name="services">The <see cref="IServiceCollection"/>.</param>
202/// <seealso cref="ServiceCollectionServiceExtensions.AddTransient{TService}(IServiceCollection, Func{IServiceProvider, TService})"/>
204this IServiceCollection services,
215/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
217/// <seealso cref="ServiceCollectionServiceExtensions.AddScoped(IServiceCollection, Type)"/>
219this IServiceCollection collection,
234/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
237/// <seealso cref="ServiceCollectionServiceExtensions.AddScoped(IServiceCollection, Type, Type)"/>
239this IServiceCollection collection,
256/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
259/// <seealso cref="ServiceCollectionServiceExtensions.AddScoped(IServiceCollection, Type, Func{IServiceProvider, object})"/>
261this IServiceCollection collection,
278/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
279/// <seealso cref="ServiceCollectionServiceExtensions.AddScoped{TService}(IServiceCollection)"/>
280public static void TryAddScoped<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection)
295/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
296/// <seealso cref="ServiceCollectionServiceExtensions.AddScoped{TService, TImplementation}(IServiceCollection)"/>
297public static void TryAddScoped<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection)
312/// <param name="services">The <see cref="IServiceCollection"/>.</param>
314/// <seealso cref="ServiceCollectionServiceExtensions.AddScoped{TService}(IServiceCollection, Func{IServiceProvider, TService})"/>
316this IServiceCollection services,
327/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
329/// <seealso cref="ServiceCollectionServiceExtensions.AddSingleton(IServiceCollection, Type)"/>
331this IServiceCollection collection,
346/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
349/// <seealso cref="ServiceCollectionServiceExtensions.AddSingleton(IServiceCollection, Type, Type)"/>
351this IServiceCollection collection,
368/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
371/// <seealso cref="ServiceCollectionServiceExtensions.AddSingleton(IServiceCollection, Type, Func{IServiceProvider, object})"/>
373this IServiceCollection collection,
390/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
391/// <seealso cref="ServiceCollectionServiceExtensions.AddSingleton{TService}(IServiceCollection)"/>
392public static void TryAddSingleton<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection)
407/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
408/// <seealso cref="ServiceCollectionServiceExtensions.AddSingleton{TService, TImplementation}(IServiceCollection)"/>
409public static void TryAddSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection)
424/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
426/// <seealso cref="ServiceCollectionServiceExtensions.AddSingleton{TService}(IServiceCollection, TService)"/>
427public static void TryAddSingleton<TService>(this IServiceCollection collection, TService instance)
443/// <param name="services">The <see cref="IServiceCollection"/>.</param>
445/// <seealso cref="ServiceCollectionServiceExtensions.AddSingleton{TService}(IServiceCollection, Func{IServiceProvider, TService})"/>
447this IServiceCollection services,
459/// <param name="services">The <see cref="IServiceCollection"/>.</param>
462/// Use <see cref="TryAddEnumerable(IServiceCollection, ServiceDescriptor)"/> when registering a service implementation of a
465/// <see cref="Add(IServiceCollection, ServiceDescriptor)"/> is not idempotent and can add
468/// <see cref="TryAddEnumerable(IServiceCollection, ServiceDescriptor)"/> will prevent registration
472this IServiceCollection services,
511/// <param name="services">The <see cref="IServiceCollection"/>.</param>
514/// Use <see cref="TryAddEnumerable(IServiceCollection, ServiceDescriptor)"/> when registering a service
517/// <see cref="Add(IServiceCollection, ServiceDescriptor)"/> is not idempotent and can add
520/// <see cref="TryAddEnumerable(IServiceCollection, ServiceDescriptor)"/> will prevent registration
524this IServiceCollection services,
537/// Removes the first service in <see cref="IServiceCollection"/> with the same service type
540/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
542/// <returns>The <see cref="IServiceCollection"/> for chaining.</returns>
543public static IServiceCollection Replace(
544this IServiceCollection collection,
566/// Removes all services of type <typeparamref name="T"/> in <see cref="IServiceCollection"/>.
568/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
569/// <returns>The <see cref="IServiceCollection"/> for chaining.</returns>
570public static IServiceCollection RemoveAll<T>(this IServiceCollection collection)
576/// Removes all services of type <paramref name="serviceType"/> in <see cref="IServiceCollection"/>.
578/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
580/// <returns>The <see cref="IServiceCollection"/> for chaining.</returns>
581public static IServiceCollection RemoveAll(this IServiceCollection collection, Type serviceType)
Extensions\ServiceCollectionDescriptorExtensions.Keyed.cs (67)
16/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
19/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedTransient(IServiceCollection, Type, object)"/>
21this IServiceCollection collection,
37/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
41/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedTransient(IServiceCollection, Type, object, Type)"/>
43this IServiceCollection collection,
61/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
65/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedTransient(IServiceCollection, Type, object, Func{IServiceProvider, object, object})"/>
67this IServiceCollection collection,
85/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
87/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedTransient{TService}(IServiceCollection, object)"/>
88public static void TryAddKeyedTransient<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection, object? serviceKey)
103/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
105/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedTransient{TService, TImplementation}(IServiceCollection, object)"/>
106public static void TryAddKeyedTransient<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection, object? serviceKey)
121/// <param name="services">The <see cref="IServiceCollection"/>.</param>
124/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedTransient{TService}(IServiceCollection, object, Func{IServiceProvider, object, TService})"/>
126this IServiceCollection services,
138/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
141/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedScoped(IServiceCollection, Type, object)"/>
143this IServiceCollection collection,
159/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
163/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedScoped(IServiceCollection, Type, object, Type)"/>
165this IServiceCollection collection,
183/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
187/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedScoped(IServiceCollection, Type, object, Func{IServiceProvider, object, object})"/>
189this IServiceCollection collection,
207/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
209/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedScoped{TService}(IServiceCollection, object)"/>
210public static void TryAddKeyedScoped<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection, object? serviceKey)
225/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
227/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedScoped{TService, TImplementation}(IServiceCollection, object)"/>
228public static void TryAddKeyedScoped<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection, object? serviceKey)
243/// <param name="services">The <see cref="IServiceCollection"/>.</param>
246/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedScoped{TService}(IServiceCollection, object, Func{IServiceProvider, object, TService})"/>
248this IServiceCollection services,
260/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
263/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedSingleton(IServiceCollection, Type, object)"/>
265this IServiceCollection collection,
281/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
285/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedSingleton(IServiceCollection, Type, object, Type)"/>
287this IServiceCollection collection,
305/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
309/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedSingleton(IServiceCollection, Type, object, Func{IServiceProvider, object, object})"/>
311this IServiceCollection collection,
329/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
331/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedSingleton{TService}(IServiceCollection, object)"/>
332public static void TryAddKeyedSingleton<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection, object? serviceKey)
347/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
349/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedSingleton{TService, TImplementation}(IServiceCollection, object)"/>
350public static void TryAddKeyedSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection, object? serviceKey)
365/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
368/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedSingleton{TService}(IServiceCollection, object, TService)"/>
369public static void TryAddKeyedSingleton<TService>(this IServiceCollection collection, object? serviceKey, TService instance)
385/// <param name="services">The <see cref="IServiceCollection"/>.</param>
388/// <seealso cref="ServiceCollectionServiceExtensions.AddKeyedSingleton{TService}(IServiceCollection, object, Func{IServiceProvider, object, TService})"/>
390this IServiceCollection services,
399/// Removes all services of type <typeparamref name="T"/> in <see cref="IServiceCollection"/>.
401/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
403/// <returns>The <see cref="IServiceCollection"/> for chaining.</returns>
404public static IServiceCollection RemoveAllKeyed<T>(this IServiceCollection collection, object? serviceKey)
410/// Removes all services of type <paramref name="serviceType"/> in <see cref="IServiceCollection"/>.
412/// <param name="collection">The <see cref="IServiceCollection"/>.</param>
415/// <returns>The <see cref="IServiceCollection"/> for chaining.</returns>
416public static IServiceCollection RemoveAllKeyed(this IServiceCollection collection, Type serviceType, object? serviceKey)
ServiceCollectionServiceExtensions.cs (120)
10/// Extension methods for adding services to an <see cref="IServiceCollection" />.
17/// specified <see cref="IServiceCollection"/>.
19/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
24/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
29public static IServiceCollection AddTransient(
30this IServiceCollection services,
44/// specified <see cref="IServiceCollection"/>.
46/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
51/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
56public static IServiceCollection AddTransient(
57this IServiceCollection services,
71/// specified <see cref="IServiceCollection"/>.
75/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
78/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
83public static IServiceCollection AddTransient<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection services)
94/// specified <see cref="IServiceCollection"/>.
96/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
100/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
105public static IServiceCollection AddTransient(
106this IServiceCollection services,
117/// specified <see cref="IServiceCollection"/>.
120/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
123/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
128public static IServiceCollection AddTransient<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection services)
139/// specified <see cref="IServiceCollection"/>.
142/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
146/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
151public static IServiceCollection AddTransient<TService>(
152this IServiceCollection services,
166/// specified <see cref="IServiceCollection"/>.
170/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
174/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
179public static IServiceCollection AddTransient<TService, TImplementation>(
180this IServiceCollection services,
194/// specified <see cref="IServiceCollection"/>.
196/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
201/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
206public static IServiceCollection AddScoped(
207this IServiceCollection services,
221/// specified <see cref="IServiceCollection"/>.
223/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
228/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
233public static IServiceCollection AddScoped(
234this IServiceCollection services,
248/// specified <see cref="IServiceCollection"/>.
252/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
255/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
260public static IServiceCollection AddScoped<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection services)
271/// specified <see cref="IServiceCollection"/>.
273/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
277/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
282public static IServiceCollection AddScoped(
283this IServiceCollection services,
294/// specified <see cref="IServiceCollection"/>.
297/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
300/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
305public static IServiceCollection AddScoped<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection services)
316/// specified <see cref="IServiceCollection"/>.
319/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
323/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
328public static IServiceCollection AddScoped<TService>(
329this IServiceCollection services,
343/// specified <see cref="IServiceCollection"/>.
347/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
351/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
356public static IServiceCollection AddScoped<TService, TImplementation>(
357this IServiceCollection services,
372/// specified <see cref="IServiceCollection"/>.
374/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
379/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
384public static IServiceCollection AddSingleton(
385this IServiceCollection services,
399/// specified <see cref="IServiceCollection"/>.
401/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
406/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
411public static IServiceCollection AddSingleton(
412this IServiceCollection services,
426/// specified <see cref="IServiceCollection"/>.
430/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
433/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
438public static IServiceCollection AddSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection services)
449/// specified <see cref="IServiceCollection"/>.
451/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
455/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
460public static IServiceCollection AddSingleton(
461this IServiceCollection services,
472/// specified <see cref="IServiceCollection"/>.
475/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
478/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
483public static IServiceCollection AddSingleton<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection services)
494/// specified <see cref="IServiceCollection"/>.
497/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
501/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
506public static IServiceCollection AddSingleton<TService>(
507this IServiceCollection services,
521/// specified <see cref="IServiceCollection"/>.
525/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
529/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
534public static IServiceCollection AddSingleton<TService, TImplementation>(
535this IServiceCollection services,
549/// specified <see cref="IServiceCollection"/>.
551/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
556/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
561public static IServiceCollection AddSingleton(
562this IServiceCollection services,
578/// specified <see cref="IServiceCollection"/>.
580/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
584/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type has already been registered.
589public static IServiceCollection AddSingleton<TService>(
590this IServiceCollection services,
600private static IServiceCollection Add(
601IServiceCollection collection,
611private static IServiceCollection Add(
612IServiceCollection collection,
ServiceCollectionServiceExtensions.Keyed.cs (120)
10/// Extension methods for adding services to an <see cref="IServiceCollection" />.
17/// specified <see cref="IServiceCollection"/>.
19/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
25/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
30public static IServiceCollection AddKeyedTransient(
31this IServiceCollection services,
46/// specified <see cref="IServiceCollection"/>.
48/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
54/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
59public static IServiceCollection AddKeyedTransient(
60this IServiceCollection services,
75/// specified <see cref="IServiceCollection"/>.
79/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
83/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
88public static IServiceCollection AddKeyedTransient<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(
89this IServiceCollection services,
101/// specified <see cref="IServiceCollection"/>.
103/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
108/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
113public static IServiceCollection AddKeyedTransient(
114this IServiceCollection services,
126/// specified <see cref="IServiceCollection"/>.
129/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
133/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
138public static IServiceCollection AddKeyedTransient<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(
139this IServiceCollection services,
151/// specified <see cref="IServiceCollection"/>.
154/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
159/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
164public static IServiceCollection AddKeyedTransient<TService>(
165this IServiceCollection services,
180/// specified <see cref="IServiceCollection"/>.
184/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
189/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
194public static IServiceCollection AddKeyedTransient<TService, TImplementation>(
195this IServiceCollection services,
210/// specified <see cref="IServiceCollection"/>.
212/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
218/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
223public static IServiceCollection AddKeyedScoped(
224this IServiceCollection services,
239/// specified <see cref="IServiceCollection"/>.
241/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
247/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
252public static IServiceCollection AddKeyedScoped(
253this IServiceCollection services,
268/// specified <see cref="IServiceCollection"/>.
272/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
276/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
281public static IServiceCollection AddKeyedScoped<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(
282this IServiceCollection services,
294/// specified <see cref="IServiceCollection"/>.
296/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
301/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
306public static IServiceCollection AddKeyedScoped(
307this IServiceCollection services,
319/// specified <see cref="IServiceCollection"/>.
322/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
326/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
331public static IServiceCollection AddKeyedScoped<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(
332this IServiceCollection services,
344/// specified <see cref="IServiceCollection"/>.
347/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
352/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
357public static IServiceCollection AddKeyedScoped<TService>(
358this IServiceCollection services,
373/// specified <see cref="IServiceCollection"/>.
377/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
382/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
387public static IServiceCollection AddKeyedScoped<TService, TImplementation>(
388this IServiceCollection services,
403/// specified <see cref="IServiceCollection"/>.
405/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
411/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
416public static IServiceCollection AddKeyedSingleton(
417this IServiceCollection services,
432/// specified <see cref="IServiceCollection"/>.
434/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
440/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
445public static IServiceCollection AddKeyedSingleton(
446this IServiceCollection services,
461/// specified <see cref="IServiceCollection"/>.
465/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
469/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
474public static IServiceCollection AddKeyedSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(
475this IServiceCollection services,
487/// specified <see cref="IServiceCollection"/>.
489/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
494/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
499public static IServiceCollection AddKeyedSingleton(
500this IServiceCollection services,
512/// specified <see cref="IServiceCollection"/>.
515/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
519/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
524public static IServiceCollection AddKeyedSingleton<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(
525this IServiceCollection services,
537/// specified <see cref="IServiceCollection"/>.
540/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
545/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
550public static IServiceCollection AddKeyedSingleton<TService>(
551this IServiceCollection services,
566/// specified <see cref="IServiceCollection"/>.
570/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
575/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
580public static IServiceCollection AddKeyedSingleton<TService, TImplementation>(
581this IServiceCollection services,
596/// specified <see cref="IServiceCollection"/>.
598/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
604/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
609public static IServiceCollection AddKeyedSingleton(
610this IServiceCollection services,
627/// specified <see cref="IServiceCollection"/>.
629/// <param name="services">The <see cref="IServiceCollection"/> to add the service to.</param>
634/// This method always adds a new registration to the <see cref="IServiceCollection"/>, even if a service of the same type and key has already been registered.
639public static IServiceCollection AddKeyedSingleton<TService>(
640this IServiceCollection services,
651private static IServiceCollection AddKeyed(
652IServiceCollection collection,
663private static IServiceCollection AddKeyed(
664IServiceCollection collection,
Microsoft.Extensions.DependencyInjection.AutoActivation (53)
AutoActivationExtensions.cs (27)
23public static IServiceCollection ActivateSingleton<TService>(this IServiceCollection services)
57public static IServiceCollection ActivateSingleton(this IServiceCollection services, Type serviceType)
97public static IServiceCollection AddActivatedSingleton<TService, TImplementation>(this IServiceCollection services, Func<IServiceProvider, TImplementation> implementationFactory)
116public static IServiceCollection AddActivatedSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection services)
134public static IServiceCollection AddActivatedSingleton<TService>(this IServiceCollection services, Func<IServiceProvider, TService> implementationFactory)
151public static IServiceCollection AddActivatedSingleton<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection services)
163/// <see cref="IServiceCollection"/>.
168public static IServiceCollection AddActivatedSingleton(
169this IServiceCollection services,
187public static IServiceCollection AddActivatedSingleton(
188this IServiceCollection services,
208public static IServiceCollection AddActivatedSingleton(
209this IServiceCollection services,
228this IServiceCollection services,
244this IServiceCollection services,
261public static void TryAddActivatedSingleton(this IServiceCollection services, Type serviceType, Func<IServiceProvider, object> implementationFactory)
275public static void TryAddActivatedSingleton<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection services)
289public static void TryAddActivatedSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection services)
304public static void TryAddActivatedSingleton<TService>(this IServiceCollection services, Func<IServiceProvider, TService> implementationFactory)
313private static void TryAddAndActivate<TService>(this IServiceCollection services, ServiceDescriptor descriptor)
325private static void TryAddAndActivate(this IServiceCollection services, ServiceDescriptor descriptor)
AutoActivationExtensions.Keyed.cs (26)
21public static IServiceCollection ActivateKeyedSingleton<TService>(
22this IServiceCollection services,
58public static IServiceCollection ActivateKeyedSingleton(
59this IServiceCollection services,
102public static IServiceCollection AddActivatedKeyedSingleton<TService, TImplementation>(
103this IServiceCollection services,
125public static IServiceCollection AddActivatedKeyedSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(
126this IServiceCollection services,
144public static IServiceCollection AddActivatedKeyedSingleton<TService>(
145this IServiceCollection services,
162public static IServiceCollection AddActivatedKeyedSingleton<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(
163this IServiceCollection services,
179public static IServiceCollection AddActivatedKeyedSingleton(
180this IServiceCollection services,
200public static IServiceCollection AddActivatedKeyedSingleton(
201this IServiceCollection services,
223public static IServiceCollection AddActivatedKeyedSingleton(
224this IServiceCollection services,
245this IServiceCollection services,
263this IServiceCollection services,
283this IServiceCollection services,
302this IServiceCollection services,
319this IServiceCollection services,
337this IServiceCollection services,
348private static void TryAddAndActivateKeyed<TService>(this IServiceCollection services, ServiceDescriptor descriptor)
360private static void TryAddAndActivateKeyed(this IServiceCollection services, ServiceDescriptor descriptor)
Microsoft.Extensions.Diagnostics (26)
Microsoft.Extensions.Diagnostics.Abstractions (2)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (7)
Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests (2)
Microsoft.Extensions.Diagnostics.HealthChecks (10)
Microsoft.Extensions.Diagnostics.HealthChecks.Common (6)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (4)
Microsoft.Extensions.Diagnostics.Probes (24)
Microsoft.Extensions.Diagnostics.Probes.Tests (3)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (9)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes (3)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes.Tests (4)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (2)
Microsoft.Extensions.Diagnostics.Testing (6)
Microsoft.Extensions.DocumentExtraction (3)
Microsoft.Extensions.Hosting (21)
Microsoft.Extensions.Hosting.Abstractions (13)
Microsoft.Extensions.Hosting.Systemd (7)
Microsoft.Extensions.Hosting.Testing (1)
Microsoft.Extensions.Hosting.WindowsServices (11)
Microsoft.Extensions.Http (89)
DependencyInjection\HttpClientFactoryServiceCollectionExtensions.cs (67)
17/// Extension methods to configure an <see cref="IServiceCollection"/> for <see cref="IHttpClientFactory"/>.
22/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/>.
24/// <param name="services">The <see cref="IServiceCollection"/>.</param>
25/// <returns>The <see cref="IServiceCollection"/>.</returns>
26public static IServiceCollection AddHttpClient(this IServiceCollection services)
77/// <param name="services">The <see cref="IServiceCollection"/>.</param>
79/// <returns>The <see cref="IServiceCollection"/>.</returns>
80public static IServiceCollection ConfigureHttpClientDefaults(this IServiceCollection services, Action<IHttpClientBuilder> configure)
93/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
96/// <param name="services">The <see cref="IServiceCollection"/>.</param>
108public static IHttpClientBuilder AddHttpClient(this IServiceCollection services, string name)
119/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
122/// <param name="services">The <see cref="IServiceCollection"/>.</param>
135public static IHttpClientBuilder AddHttpClient(this IServiceCollection services, string name, Action<HttpClient> configureClient)
149/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
152/// <param name="services">The <see cref="IServiceCollection"/>.</param>
165public static IHttpClientBuilder AddHttpClient(this IServiceCollection services, string name, Action<IServiceProvider, HttpClient> configureClient)
179/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
187/// <param name="services">The <see cref="IServiceCollection"/>.</param>
201this IServiceCollection services)
215/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
227/// <param name="services">The <see cref="IServiceCollection"/>.</param>
241this IServiceCollection services)
256/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
263/// <param name="services">The <see cref="IServiceCollection"/>.</param>
281this IServiceCollection services, string name)
295/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
306/// <param name="services">The <see cref="IServiceCollection"/>.</param>
324this IServiceCollection services, string name)
339/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
347/// <param name="services">The <see cref="IServiceCollection"/>.</param>
362this IServiceCollection services, Action<HttpClient> configureClient)
378/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
386/// <param name="services">The <see cref="IServiceCollection"/>.</param>
401this IServiceCollection services, Action<IServiceProvider, HttpClient> configureClient)
417/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
429/// <param name="services">The <see cref="IServiceCollection"/>.</param>
444this IServiceCollection services, Action<HttpClient> configureClient)
461/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
473/// <param name="services">The <see cref="IServiceCollection"/>.</param>
488this IServiceCollection services, Action<IServiceProvider, HttpClient> configureClient)
505/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
512/// <param name="services">The <see cref="IServiceCollection"/>.</param>
531this IServiceCollection services, string name, Action<HttpClient> configureClient)
547/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
554/// <param name="services">The <see cref="IServiceCollection"/>.</param>
573this IServiceCollection services, string name, Action<IServiceProvider, HttpClient> configureClient)
589/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
600/// <param name="services">The <see cref="IServiceCollection"/>.</param>
619this IServiceCollection services, string name, Action<HttpClient> configureClient)
636/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
647/// <param name="services">The <see cref="IServiceCollection"/>.</param>
666this IServiceCollection services, string name, Action<IServiceProvider, HttpClient> configureClient)
683/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
693/// <param name="services">The <see cref="IServiceCollection"/>.</param>
707public static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(this IServiceCollection services, Func<HttpClient, TImplementation> factory)
719/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
729/// <param name="services">The <see cref="IServiceCollection"/>.</param>
746public static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(this IServiceCollection services, string name, Func<HttpClient, TImplementation> factory)
762/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
772/// <param name="services">The <see cref="IServiceCollection"/>.</param>
786public static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(this IServiceCollection services, Func<HttpClient, IServiceProvider, TImplementation> factory)
798/// Adds the <see cref="IHttpClientFactory"/> and related services to the <see cref="IServiceCollection"/> and configures
808/// <param name="services">The <see cref="IServiceCollection"/>.</param>
823public static IHttpClientBuilder AddHttpClient<TClient, TImplementation>(this IServiceCollection services, string name, Func<HttpClient, IServiceProvider, TImplementation> factory)
Microsoft.Extensions.Http.Diagnostics (38)
Microsoft.Extensions.Http.Diagnostics.Tests (16)
Microsoft.Extensions.Http.Polly (8)
Microsoft.Extensions.Http.Resilience (12)
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
Microsoft.Extensions.Http.Resilience.Tests (5)
Microsoft.Extensions.Identity.Core (10)
Microsoft.Extensions.Localization (11)
Microsoft.Extensions.Logging (14)
Microsoft.Extensions.Logging.Abstractions (2)
Microsoft.Extensions.Logging.AzureAppServices (2)
Microsoft.Extensions.Logging.Configuration (2)
Microsoft.Extensions.ML (13)
Microsoft.Extensions.ML.Tests (8)
Microsoft.Extensions.ObjectPool.DependencyInjection (14)
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (13)
Microsoft.Extensions.Options (57)
OptionsServiceCollectionExtensions.cs (53)
20/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
21/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
22public static IServiceCollection AddOptions(this IServiceCollection services)
41/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
46this IServiceCollection services,
63/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
69this IServiceCollection services,
79/// Note: These are run before all <see cref="PostConfigure{TOptions}(IServiceCollection, Action{TOptions})"/>.
82/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
84/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
85public static IServiceCollection Configure<TOptions>(this IServiceCollection services, Action<TOptions> configureOptions) where TOptions : class
90/// Note: These are run before all <see cref="PostConfigure{TOptions}(IServiceCollection, Action{TOptions})"/>.
93/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
96/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
97public static IServiceCollection Configure<TOptions>(this IServiceCollection services, string? name, Action<TOptions> configureOptions)
112/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
114/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
115public static IServiceCollection ConfigureAll<TOptions>(this IServiceCollection services, Action<TOptions> configureOptions) where TOptions : class
120/// Note: These are run after all <see cref="Configure{TOptions}(IServiceCollection, Action{TOptions})"/>.
123/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
125/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
126public static IServiceCollection PostConfigure<TOptions>(this IServiceCollection services, Action<TOptions> configureOptions) where TOptions : class
131/// Note: These are run after all <see cref="Configure{TOptions}(IServiceCollection, Action{TOptions})"/>.
134/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
137/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
138public static IServiceCollection PostConfigure<TOptions>(this IServiceCollection services, string? name, Action<TOptions> configureOptions)
151/// Note: These are run after all <see cref="Configure{TOptions}(IServiceCollection, Action{TOptions})"/>.
154/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
156/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
157public static IServiceCollection PostConfigureAll<TOptions>(this IServiceCollection services, Action<TOptions> configureOptions) where TOptions : class
166/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
167/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
168public static IServiceCollection ConfigureOptions<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TConfigureOptions>(
169this IServiceCollection services)
211/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
213/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
214public static IServiceCollection ConfigureOptions(
215this IServiceCollection services,
240/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
242/// <returns>The <see cref="IServiceCollection"/> so that additional calls can be chained.</returns>
243public static IServiceCollection ConfigureOptions(this IServiceCollection services, object configureInstance)
267/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
269public static OptionsBuilder<TOptions> AddOptions<TOptions>(this IServiceCollection services) where TOptions : class
276/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
279public static OptionsBuilder<TOptions> AddOptions<TOptions>(this IServiceCollection services, string? name)
Microsoft.Extensions.Options.ConfigurationExtensions (16)
Microsoft.Extensions.Options.Contextual (21)
ContextualOptionsServiceCollectionExtensions.cs (21)
23/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
25public static IServiceCollection AddContextualOptions(this IServiceCollection services)
40/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
43public static IServiceCollection Configure<TOptions>(
44this IServiceCollection services,
53/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
57public static IServiceCollection Configure<TOptions>(
58this IServiceCollection services,
73/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
77public static IServiceCollection Configure<TOptions>(this IServiceCollection services, Action<IOptionsContext, TOptions> configure)
86/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
91public static IServiceCollection Configure<TOptions>(this IServiceCollection services, string? name, Action<IOptionsContext, TOptions> configure)
107/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
110public static IServiceCollection ConfigureAll<TOptions>(
111this IServiceCollection services,
120/// <param name="services">The <see cref="IServiceCollection"/> to add the services to.</param>
123public static IServiceCollection ConfigureAll<TOptions>(this IServiceCollection services, Action<IOptionsContext, TOptions> configure)
Microsoft.Extensions.Options.Contextual.Tests (1)
Microsoft.Extensions.Resilience (2)
Microsoft.Extensions.Resilience.PerformanceTests (1)
Microsoft.Extensions.Resilience.Tests (2)
Microsoft.Extensions.ServiceDiscovery (16)
Microsoft.Extensions.ServiceDiscovery.Dns (20)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (10)
Microsoft.Extensions.ServiceDiscovery.Tests (7)
Microsoft.Extensions.ServiceDiscovery.Yarp (5)
Microsoft.Extensions.ServiceDiscovery.Yarp.Tests (2)
Microsoft.Extensions.Telemetry (57)
Microsoft.Extensions.Telemetry.Abstractions (17)
Microsoft.Extensions.Telemetry.Abstractions.Tests (4)
Microsoft.Extensions.Telemetry.Tests (9)
Microsoft.Extensions.Validation (5)
Microsoft.Extensions.VectorData.ConformanceTests (25)
Microsoft.Extensions.WebEncoders (9)
Microsoft.Maui (10)
Microsoft.ML.AutoML (2)
Shared (6)
Shared.Tests (3)