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)
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)
169string 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 (12)
JSInProcessRuntime.cs (3)
48var resultType = JSCallResultTypeHelper.FromGeneric<TValue>(); 81=> InvokeJS(identifier, argsJson, JSCallResultType.Default, WindowObjectId); 91protected 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); 202protected 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)
1092protected override void BeginInvokeJS(long taskId, string identifier, [StringSyntax("Json")] string argsJson, JSCallResultType resultType, long targetInstanceId) 1107protected override string InvokeJS(string identifier, string argsJson, JSCallResultType resultType, long targetInstanceId)
JSInProcessRuntimeTest.cs (2)
99protected override string? InvokeJS(string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId) 110protected override void BeginInvokeJS(long taskId, string identifier, [StringSyntax("Json")] string? argsJson, JSCallResultType resultType, long targetInstanceId)
JSObjectReferenceTest.cs (3)
78protected override void BeginInvokeJS(long taskId, string identifier, [StringSyntax("Json")] string? argsJson, JSCallResultType resultType, long targetInstanceId) 96protected override void BeginInvokeJS(long taskId, string identifier, [StringSyntax("Json")] string? argsJson, JSCallResultType resultType, long targetInstanceId) 108protected override string? InvokeJS(string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId)
JSRuntimeTest.cs (1)
478protected override void BeginInvokeJS(long asyncHandle, string identifier, string? argsJson, JSCallResultType resultType, long targetInstanceId)
TestJSRuntime.cs (1)
11protected override void BeginInvokeJS(long taskId, string identifier, [StringSyntax("Json")] 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) 59protected override void BeginInvokeJS(long asyncHandle, string identifier, [StringSyntax(StringSyntaxAttribute.Json)] string? argsJson, JSCallResultType resultType, long targetInstanceId)