35 references to JSCallResultType
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSRuntime.cs (1)
107protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson, JSCallResultType resultType, long targetInstanceId)
Microsoft.AspNetCore.Components.Web (2)
Internal\IInternalWebJSInProcessRuntime.cs (1)
19string InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
WebRenderer.cs (1)
133inProcessRuntime.InvokeJS(JSMethodIdentifier, argsJson, JSCallResultType.JSVoidResult, 0);
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\DefaultWebAssemblyJSRuntime.cs (1)
169string IInternalWebJSInProcessRuntime.InvokeJS(string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId)
Microsoft.AspNetCore.Components.WebView (2)
IpcSender.cs (1)
52public void BeginInvokeJS(long taskId, string identifier, string argsJson, JSCallResultType resultType, long targetInstanceId)
Services\WebViewJSRuntime.cs (1)
31protected override void BeginInvokeJS(long taskId, string identifier, string argsJson, JSCallResultType resultType, long targetInstanceId)
Microsoft.JSInterop (11)
JSInProcessRuntime.cs (2)
55=> InvokeJS(identifier, argsJson, JSCallResultType.Default, 0); 65protected abstract string? InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
JSRuntime.cs (3)
129var resultType = JSCallResultTypeHelper.FromGeneric<TValue>(); 158=> BeginInvokeJS(taskId, identifier, argsJson, JSCallResultType.Default, 0); 168protected abstract void BeginInvokeJS(long taskId, string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
src\Shared\JSInterop\JSCallResultTypeHelper.cs (6)
12private static readonly Assembly _currentAssembly = typeof(JSCallResultType).Assembly; 14public static JSCallResultType FromGeneric<TResult>() 21return JSCallResultType.JSObjectReference; 25return JSCallResultType.JSStreamReference; 29return JSCallResultType.JSVoidResult; 33return JSCallResultType.Default;
Microsoft.JSInterop.Tests (9)
Infrastructure\DotNetDispatcherTest.cs (2)
1037protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson, JSCallResultType resultType, long targetInstanceId) 1046protected override string InvokeJS(string identifier, string argsJson, JSCallResultType resultType, long targetInstanceId)
JSInProcessRuntimeTest.cs (2)
98protected override string? InvokeJS(string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId) 110protected override void BeginInvokeJS(long asyncHandle, string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId)
JSObjectReferenceTest.cs (3)
72protected override void BeginInvokeJS(long taskId, string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId) 86protected override void BeginInvokeJS(long taskId, string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId) 90protected override string? InvokeJS(string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId)
JSRuntimeTest.cs (1)
485protected override void BeginInvokeJS(long asyncHandle, string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId)
TestJSRuntime.cs (1)
10protected override void BeginInvokeJS(long asyncHandle, string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId)
Microsoft.JSInterop.WebAssembly (9)
JSCallInfo.cs (1)
16public JSCallResultType ResultType;
src\Shared\JSInterop\JSCallResultTypeHelper.cs (6)
12private static readonly Assembly _currentAssembly = typeof(JSCallResultType).Assembly; 14public static JSCallResultType FromGeneric<TResult>() 21return JSCallResultType.JSObjectReference; 25return JSCallResultType.JSStreamReference; 29return JSCallResultType.JSVoidResult; 33return JSCallResultType.Default;
WebAssemblyJSRuntime.cs (2)
26protected override string InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId) 39protected override void BeginInvokeJS(long asyncHandle, string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId)