|
// <auto-generated/>
namespace WebAssembly.JSInterop
{
internal static unsafe partial class InternalCalls
{
[global::System.Diagnostics.DebuggerNonUserCode]
public static partial string InvokeJSJson(string identifier, long targetInstanceId, int resultType, string argsJson, long asyncHandle, int callType)
{
if (__signature_InvokeJSJson_1668708194 == null)
{
__signature_InvokeJSJson_1668708194 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("Blazor._internal.invokeJSJson", "blazor-internal", [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int52, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int52, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32]);
}
{
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __identifier_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __targetInstanceId_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __resultType_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __argsJson_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __asyncHandle_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __callType_native;
string __retVal;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
// Setup - Perform required setup.
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
____arg_return_native.Initialize();
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
____arg_exception_native.Initialize();
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __callType_native);
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __asyncHandle_native);
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __argsJson_native);
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __resultType_native);
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __targetInstanceId_native);
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __identifier_native);
// Marshal - Convert managed data to native data.
__callType_native.ToJS(callType);
__asyncHandle_native.ToJS(asyncHandle);
__argsJson_native.ToJS(argsJson);
__resultType_native.ToJS(resultType);
__targetInstanceId_native.ToJS(targetInstanceId);
__identifier_native.ToJS(identifier);
{
__retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __identifier_native, __targetInstanceId_native, __resultType_native, __argsJson_native, __asyncHandle_native, __callType_native);
}
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__retVal_native.ToManaged(out __retVal);
return __retVal;
}
[global::System.Diagnostics.DebuggerNonUserCode]
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __identifier_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __targetInstanceId_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __resultType_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __argsJson_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __asyncHandle_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __callType_native)
{
global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __identifier_native, __targetInstanceId_native, __resultType_native, __argsJson_native, __asyncHandle_native, __callType_native];
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_InvokeJSJson_1668708194, __arguments_buffer);
return __arguments_buffer[1];
}
}
static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_InvokeJSJson_1668708194;
}
}
namespace WebAssembly.JSInterop
{
internal static unsafe partial class InternalCalls
{
[global::System.Diagnostics.DebuggerNonUserCode]
public static partial void EndInvokeDotNetFromJS(string id, bool success, string jsonOrError)
{
if (__signature_EndInvokeDotNetFromJS_1915558769 == null)
{
__signature_EndInvokeDotNetFromJS_1915558769 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("Blazor._internal.endInvokeDotNetFromJS", "blazor-internal", [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Boolean, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
}
{
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __id_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __success_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __jsonOrError_native;
// Setup - Perform required setup.
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
____arg_return_native.Initialize();
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
____arg_exception_native.Initialize();
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __jsonOrError_native);
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __success_native);
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __id_native);
// Marshal - Convert managed data to native data.
__jsonOrError_native.ToJS(jsonOrError);
__success_native.ToJS(success);
__id_native.ToJS(id);
{
__InvokeJSFunction(____arg_exception_native, ____arg_return_native, __id_native, __success_native, __jsonOrError_native);
}
}
[global::System.Diagnostics.DebuggerNonUserCode]
void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __id_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __success_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __jsonOrError_native)
{
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_EndInvokeDotNetFromJS_1915558769, [____arg_exception_native, ____arg_return_native, __id_native, __success_native, __jsonOrError_native]);
}
}
static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_EndInvokeDotNetFromJS_1915558769;
}
}
namespace WebAssembly.JSInterop
{
internal static unsafe partial class InternalCalls
{
[global::System.Diagnostics.DebuggerNonUserCode]
public static partial void ReceiveByteArray(int id, byte[] data)
{
if (__signature_ReceiveByteArray_1130394556 == null)
{
__signature_ReceiveByteArray_1130394556 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("Blazor._internal.receiveByteArray", "blazor-internal", [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Array(global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Byte)]);
}
{
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __id_native;
global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __data_native;
// Setup - Perform required setup.
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
____arg_return_native.Initialize();
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
____arg_exception_native.Initialize();
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __data_native);
global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __id_native);
// Marshal - Convert managed data to native data.
__data_native.ToJS(data);
__id_native.ToJS(id);
{
__InvokeJSFunction(____arg_exception_native, ____arg_return_native, __id_native, __data_native);
}
}
[global::System.Diagnostics.DebuggerNonUserCode]
void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __id_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __data_native)
{
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_ReceiveByteArray_1130394556, [____arg_exception_native, ____arg_return_native, __id_native, __data_native]);
}
}
static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_ReceiveByteArray_1130394556;
}
}
|