16 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.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;