27 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)
20string 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)
170string IInternalWebJSInProcessRuntime.InvokeJS(string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId)
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewJSRuntime.cs (1)
31protected override void BeginInvokeJS(long taskId, string identifier, string argsJson, JSCallResultType resultType, long targetInstanceId)
Microsoft.JSInterop (13)
Infrastructure\JSInvocationInfo.cs (1)
38public required JSCallResultType ResultType { get; init; }
JSInProcessRuntime.cs (3)
48var resultType = JSCallResultTypeHelper.FromGeneric<TValue>(); 81=> InvokeJS(identifier, argsJson, JSCallResultType.Default, WindowObjectId); 92protected abstract string? InvokeJS(string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
JSRuntime.cs (3)
154var resultType = JSCallResultTypeHelper.FromGeneric<TValue>(); 192=> BeginInvokeJS(taskId, identifier, argsJson, JSCallResultType.Default, WindowObjectId); 203protected abstract void BeginInvokeJS(long taskId, string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId);
src\aspnetcore\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.WebAssembly (9)
JSCallInfo.cs (1)
16public JSCallResultType ResultType;
src\aspnetcore\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) 59protected override void BeginInvokeJS(long asyncHandle, string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId)