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