CapabilityDispatcherTests.cs (80)
57dispatcher.Invoke("test/capability@1", null);
73dispatcher.Invoke("test/capability@1", new JsonObject { ["name"] = "test-value" });
84var result = dispatcher.Invoke("test/capability@1", null);
96dispatcher.Invoke("nonexistent/capability@1", null));
114dispatcher.Invoke("test/capability@1", null));
133dispatcher.Invoke("test/capability@1", null));
151dispatcher.Invoke("test/capability@1", null));
170var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/testMethod", args);
182var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withOptional", args);
194var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withOptional", args);
235var nameResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.name", args);
236var countResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.count", args);
250dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.name", null));
263dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.name", args));
275dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.name", args));
291var tokenResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestCancellationTokenContext.cancellationToken", getArgs);
297var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/canObserveCancellation", invokeArgs);
352var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestParentContextType.nestedContext", args);
369var operationResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestNestedContextType.operation", nestedArgs);
433dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.setName", args);
453dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.setCount", args);
472dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.setIsEnabled", args);
492dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.setName", args));
523dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.doSomething", args);
543var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.calculateSum", args);
563var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.processAsync", args);
583var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.processValueTaskAsync", args);
595var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/asyncValueTaskWithResult", args);
640var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withCallback", args);
662dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/invokeCallback", args);
683dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/invokeTypedCallback", args);
706var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withAsyncCallback", args);
718var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/syncInlineThreadProbe", null);
730var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/syncBackgroundThreadProbe", null);
742var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/valueTaskBackgroundThreadProbe", null);
756dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/nonGenericValueTaskBackgroundThreadProbe", null);
776dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withCallback", args));
801dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/asyncVoid", args);
810var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/asyncWithResult", args);
823dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/asyncThrows", args));
839var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/sumArray", args);
851var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnArray", args);
871var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptReadOnlyList", args);
884var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptUnion", args);
896var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptUnion", args);
909var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
925var listResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
936var result = dispatcher.Invoke("Aspire.Hosting/List.get", args);
949var listResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
959var removeResult = dispatcher.Invoke("Aspire.Hosting/List.removeAt", removeArgs);
969var lengthResult = dispatcher.Invoke("Aspire.Hosting/List.length", lengthArgs);
982var listResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
991var result = dispatcher.Invoke("Aspire.Hosting/List.length", args);
1004var listResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
1013dispatcher.Invoke("Aspire.Hosting/List.clear", clearArgs);
1020var lengthResult = dispatcher.Invoke("Aspire.Hosting/List.length", lengthArgs);
1033var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1049var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1060var result = dispatcher.Invoke("Aspire.Hosting/Dict.get", args);
1073var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1083var removeResult = dispatcher.Invoke("Aspire.Hosting/Dict.remove", removeArgs);
1093var countResult = dispatcher.Invoke("Aspire.Hosting/Dict.count", countArgs);
1106var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1116var hasResult = dispatcher.Invoke("Aspire.Hosting/Dict.has", hasArgs);
1127var hasResult2 = dispatcher.Invoke("Aspire.Hosting/Dict.has", hasArgs2);
1140var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1149var result = dispatcher.Invoke("Aspire.Hosting/Dict.keys", args);
1166var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1175var result = dispatcher.Invoke("Aspire.Hosting/Dict.count", args);
1192var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptEnum", args);
1209var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptEnum", args);
1226var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnEnum", args);
1243var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptOptionalEnum", args);
1255var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptOptionalEnum", new JsonObject());
1326var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestResourceWithProperties.color", args);
1347dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestResourceWithProperties.setColor", args);
1367var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestResourceWithMethods.greet", args);
1384var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestResourceWithProperties.color", args);
1401var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestResourceWithProperties.name", args);
1417dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestResourceWithProperties.color", args));