28 references to IJSVoidResult
Microsoft.AspNetCore.Components.Server.Tests (2)
ProtectedBrowserStorageTest.cs (2)
261
jsRuntime.NextInvocationResult = new ValueTask<
IJSVoidResult
>(Mock.Of<
IJSVoidResult
>());
Microsoft.JSInterop (9)
JSInProcessObjectReferenceExtensions.cs (1)
25
jsObjectReference.Invoke<
IJSVoidResult
>(identifier, args);
JSInProcessRuntimeExtensions.cs (1)
25
jsRuntime.Invoke<
IJSVoidResult
>(identifier, args);
JSObjectReferenceExtensions.cs (3)
26
await jsObjectReference.InvokeAsync<
IJSVoidResult
>(identifier, args);
82
await jsObjectReference.InvokeAsync<
IJSVoidResult
>(identifier, cancellationToken, args);
118
await jsObjectReference.InvokeAsync<
IJSVoidResult
>(identifier, cancellationToken, args);
JSRuntimeExtensions.cs (3)
26
await jsRuntime.InvokeAsync<
IJSVoidResult
>(identifier, args);
82
await jsRuntime.InvokeAsync<
IJSVoidResult
>(identifier, cancellationToken, args);
118
await jsRuntime.InvokeAsync<
IJSVoidResult
>(identifier, cancellationToken, args);
src\Shared\JSInterop\JSCallResultTypeHelper.cs (1)
27
else if (typeof(TResult) == typeof(
IJSVoidResult
))
Microsoft.JSInterop.Tests (16)
JSInProcessObjectReferenceExtensionsTest.cs (2)
18
jsInProcessObjectReference.Setup(s => s.Invoke<
IJSVoidResult
>(method, args)).Returns(Mock.Of<
IJSVoidResult
>());
JSInProcessRuntimeExtensionsTest.cs (2)
18
jsRuntime.Setup(s => s.Invoke<
IJSVoidResult
>(method, args)).Returns(Mock.Of<
IJSVoidResult
>());
JSRuntimeExtensionsTest.cs (12)
65
jsRuntime.Setup(s => s.InvokeAsync<
IJSVoidResult
>(method, args)).Returns(new ValueTask<
IJSVoidResult
>(Mock.Of<
IJSVoidResult
>()));
80
jsRuntime.Setup(s => s.InvokeAsync<
IJSVoidResult
>(method, It.IsAny<CancellationToken>(), args)).Returns(new ValueTask<
IJSVoidResult
>(Mock.Of<
IJSVoidResult
>()));
142
jsRuntime.Setup(s => s.InvokeAsync<
IJSVoidResult
>(method, It.IsAny<CancellationToken>(), args))
149
.Returns(new ValueTask<
IJSVoidResult
>(Mock.Of<
IJSVoidResult
>()));
164
jsRuntime.Setup(s => s.InvokeAsync<
IJSVoidResult
>(method, It.IsAny<CancellationToken>(), args))
170
.Returns(new ValueTask<
IJSVoidResult
>(Mock.Of<
IJSVoidResult
>()));
Microsoft.JSInterop.WebAssembly (1)
src\Shared\JSInterop\JSCallResultTypeHelper.cs (1)
27
else if (typeof(TResult) == typeof(
IJSVoidResult
))