6 implementations of InvokeAsync
Aspire.Dashboard.Tests (1)
LocalBrowserStorageTests.cs (1)
133public ValueTask<TValue> InvokeAsync<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.PublicProperties)] TValue>(string identifier, object?[]? args)
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\UnsupportedJavaScriptRuntime.cs (1)
15ValueTask<TValue> IJSRuntime.InvokeAsync<TValue>(string identifier, object?[]? args)
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\RemoteJSDataStreamTest.cs (1)
361public new ValueTask<TValue> InvokeAsync<TValue>(string identifier, object[] args)
ProtectedBrowserStorageTest.cs (1)
366public ValueTask<TValue> InvokeAsync<TValue>(string identifier, object[] args)
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
PullFromJSDataStreamTest.cs (1)
133public async ValueTask<TValue> InvokeAsync<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.PublicProperties)] TValue>(string identifier, object[] args)
Microsoft.JSInterop (1)
JSRuntime.cs (1)
68public ValueTask<TValue> InvokeAsync<[DynamicallyAccessedMembers(JsonSerialized)] TValue>(string identifier, object?[]? args)
4 references to InvokeAsync
Microsoft.JSInterop (2)
JSRuntimeExtensions.cs (2)
26await jsRuntime.InvokeAsync<IJSVoidResult>(identifier, args); 45return jsRuntime.InvokeAsync<TValue>(identifier, args);
Microsoft.JSInterop.Tests (2)
JSRuntimeExtensionsTest.cs (2)
18jsRuntime.Setup(s => s.InvokeAsync<string>(method, It.IsAny<object[]>())) 65jsRuntime.Setup(s => s.InvokeAsync<IJSVoidResult>(method, args)).Returns(new ValueTask<IJSVoidResult>(Mock.Of<IJSVoidResult>()));