5 implementations of InvokeAsync
Aspire.Dashboard.Tests (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Microsoft.JSInterop (1)
14 references to InvokeAsync
Microsoft.AspNetCore.Components.Web.Tests (2)
Microsoft.JSInterop (6)
JSRuntimeExtensions.cs (5)
33/// consider using <see cref="IJSRuntime.InvokeAsync{TValue}(string, CancellationToken, object[])" />.
64return jsRuntime.InvokeAsync<TValue>(identifier, cancellationToken, args);
82await jsRuntime.InvokeAsync<IJSVoidResult>(identifier, cancellationToken, args);
100return await jsRuntime.InvokeAsync<TValue>(identifier, cancellationToken, args);
118await jsRuntime.InvokeAsync<IJSVoidResult>(identifier, cancellationToken, args);
Microsoft.JSInterop.Tests (6)
JSRuntimeExtensionsTest.cs (6)
42jsRuntime.Setup(s => s.InvokeAsync<string>(method, cancellationToken, It.IsAny<object[]>()))
80jsRuntime.Setup(s => s.InvokeAsync<IJSVoidResult>(method, It.IsAny<CancellationToken>(), args)).Returns(new ValueTask<IJSVoidResult>(Mock.Of<IJSVoidResult>()));
96jsRuntime.Setup(s => s.InvokeAsync<string>(method, It.IsAny<CancellationToken>(), args))
120jsRuntime.Setup(s => s.InvokeAsync<string>(method, It.IsAny<CancellationToken>(), args))
142jsRuntime.Setup(s => s.InvokeAsync<IJSVoidResult>(method, It.IsAny<CancellationToken>(), args))
164jsRuntime.Setup(s => s.InvokeAsync<IJSVoidResult>(method, It.IsAny<CancellationToken>(), args))