8 references to ParseArguments
Microsoft.JSInterop (1)
Infrastructure\DotNetDispatcher.cs (1)
186
var suppliedArgs =
ParseArguments
(jsRuntime, methodIdentifier, argsJson, parameterTypes);
Microsoft.JSInterop.Tests (7)
Infrastructure\DotNetDispatcherTest.cs (7)
795
Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.
ParseArguments
(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
804
Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.
ParseArguments
(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
813
Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.
ParseArguments
(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
823
var result = DotNetDispatcher.
ParseArguments
(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string), typeof(int), });
836
var result = DotNetDispatcher.
ParseArguments
(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(TestDTO), });
851
var result = DotNetDispatcher.
ParseArguments
(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(int), typeof(TestDTO), });
868
var ex = Assert.Throws<InvalidOperationException>(() => DotNetDispatcher.
ParseArguments
(new TestJSRuntime(), method, arguments, new[] { typeof(int), typeof(TestDTO), }));