59 instantiations of CapabilityDispatcher
Aspire.Hosting.RemoteHost.Tests (59)
CapabilityDispatcherTests.cs (58)
91
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [hostingAssembly]);
141
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TerminalResourceBuilderExtensions).Assembly]);
193
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TerminalResourceBuilderExtensions).Assembly]);
450
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
507
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestCancellationTokenContext).Assembly]);
566
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestParentContextType).Assembly]);
644
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
666
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
685
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
704
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
737
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeWithMethods).Assembly]);
755
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeWithMethods).Assembly]);
776
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeWithMethods).Assembly]);
796
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeWithMethods).Assembly]);
855
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
878
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
899
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
922
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
1016
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly]);
1037
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly]);
1064
var dispatcher = new
CapabilityDispatcher
(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
1266
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly]);
1326
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly]);
1341
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1365
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1387
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1420
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1442
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1472
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly]);
1487
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1511
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1533
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1555
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1588
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1622
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1648
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1672
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1691
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1713
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1730
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1747
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1764
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1781
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1863
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1882
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1902
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithMethods).Assembly]);
1923
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1940
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1957
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1974
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestPolyglotErrorCapabilities).Assembly]);
2000
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestPolyglotErrorCapabilities).Assembly]);
2022
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestGenericPolyglotErrorCapabilities).Assembly]);
2044
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestGenericPolyglotErrorCapabilities).Assembly]);
2065
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestGenericPolyglotErrorCapabilities).Assembly]);
2089
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
2117
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestPolyglotErrorCapabilities).Assembly]);
2278
var dispatcher = new
CapabilityDispatcher
(handles, CreateTestMarshaller(handles), [typeof(TestRawResourceCapabilities).Assembly]);
2300
return new
CapabilityDispatcher
(handles, marshaller, assemblies);
ExternalCapabilityRegistryTests.cs (1)
266
var dispatcher = new
CapabilityDispatcher
(handles,
116 references to CapabilityDispatcher
Aspire.Hosting.RemoteHost (5)
Ats\CapabilityDispatcher.cs (2)
70
ILogger<
CapabilityDispatcher
> logger,
96
_logger = Microsoft.Extensions.Logging.Abstractions.NullLogger<
CapabilityDispatcher
>.Instance;
RemoteAppHostService.cs (2)
24
private readonly
CapabilityDispatcher
_capabilityDispatcher;
30
CapabilityDispatcher
capabilityDispatcher,
RemoteHostServer.cs (1)
127
services.AddScoped<
CapabilityDispatcher
>();
Aspire.Hosting.RemoteHost.Tests (111)
CapabilityDispatcherTests.cs (108)
91
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [hostingAssembly]);
141
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TerminalResourceBuilderExtensions).Assembly]);
193
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TerminalResourceBuilderExtensions).Assembly]);
210
var
dispatcher = CreateDispatcher();
221
var
dispatcher = CreateDispatcher();
229
var
dispatcher = CreateDispatcher();
242
var
dispatcher = CreateDispatcher();
258
var
dispatcher = CreateDispatcher();
274
var
dispatcher = CreateDispatcher();
286
var
dispatcher = CreateDispatcher();
297
var
dispatcher = CreateDispatcher();
316
var
dispatcher = CreateDispatcher();
334
var
dispatcher = CreateDispatcher();
352
var
dispatcher = CreateDispatcher();
368
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
376
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
388
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
400
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
412
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
427
var
dispatcher = CreateDispatcher(typeof(TestContextType).Assembly);
440
var
dispatcher = CreateDispatcher(typeof(TestContextType).Assembly);
450
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
470
var
dispatcher = CreateDispatcher(typeof(TestContextType).Assembly);
482
var
dispatcher = CreateDispatcher(typeof(TestContextType).Assembly);
494
var
dispatcher = CreateDispatcher(typeof(TestContextType).Assembly);
507
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestCancellationTokenContext).Assembly]);
529
var
dispatcher = CreateDispatcher(typeof(VersionedContextType).Assembly);
543
var
dispatcher = CreateDispatcher(typeof(TestParentContextType).Assembly);
566
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestParentContextType).Assembly]);
607
var
dispatcher = CreateDispatcher(typeof(AspireExportAttribute).Assembly);
631
var
dispatcher = CreateDispatcher(typeof(TestContextType).Assembly);
644
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
666
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
685
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
704
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestContextType).Assembly]);
725
var
dispatcher = CreateDispatcher(typeof(TestTypeWithMethods).Assembly);
737
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeWithMethods).Assembly]);
755
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeWithMethods).Assembly]);
776
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeWithMethods).Assembly]);
796
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeWithMethods).Assembly]);
815
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
827
var
dispatcher = CreateDispatcher(typeof(TestTypeWithMethods).Assembly);
836
var
dispatcher = CreateDispatcher(typeof(TestTypeWithMethods).Assembly);
855
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
878
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
899
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
922
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
938
var
dispatcher = CreateDispatcher(typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly);
950
var
dispatcher = CreateDispatcher(typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly);
962
var
dispatcher = CreateDispatcher(typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly);
974
var
dispatcher = CreateDispatcher(typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly);
987
var
dispatcher = CreateDispatcher(typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly);
999
var
dispatcher = CreateDispatcher(typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly);
1016
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly]);
1037
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TestCapabilitiesWithBackgroundThreadDispatch).Assembly]);
1064
var
dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(TestCapabilitiesWithCallback).Assembly]);
1083
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
1093
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
1104
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
1116
var
dispatcher = CreateDispatcher(typeof(TestCapabilities).Assembly);
1130
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1145
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1162
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1178
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1190
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1202
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1220
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1232
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1244
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1266
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly]);
1285
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1303
var
dispatcher = CreateDispatcher(typeof(TestTypeCategoryCapabilities).Assembly);
1326
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly]);
1341
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1365
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1387
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1420
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1442
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1472
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly]);
1487
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1511
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1533
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1555
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1588
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1622
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1648
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1672
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1691
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestTypeCategoryCapabilities).Assembly, typeof(AspireExportAttribute).Assembly]);
1713
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1730
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1747
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1764
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1781
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestEnumCapabilities).Assembly]);
1863
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1882
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1902
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithMethods).Assembly]);
1923
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1940
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1957
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
1974
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestPolyglotErrorCapabilities).Assembly]);
2000
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestPolyglotErrorCapabilities).Assembly]);
2022
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestGenericPolyglotErrorCapabilities).Assembly]);
2044
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestGenericPolyglotErrorCapabilities).Assembly]);
2065
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestGenericPolyglotErrorCapabilities).Assembly]);
2089
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestResourceWithProperties).Assembly]);
2117
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestPolyglotErrorCapabilities).Assembly]);
2278
var
dispatcher = new CapabilityDispatcher(handles, CreateTestMarshaller(handles), [typeof(TestRawResourceCapabilities).Assembly]);
2296
private static
CapabilityDispatcher
CreateDispatcher(params System.Reflection.Assembly[] assemblies)
ExternalCapabilityRegistryTests.cs (2)
266
var
dispatcher = new CapabilityDispatcher(handles,
268
marshaller, registry, NullLogger<
CapabilityDispatcher
>.Instance, telemetry);
JsonRpcAuthenticationTests.cs (1)
291
services.AddScoped<Ats.
CapabilityDispatcher
>();