|
// <auto-generated/>
namespace System.Runtime.InteropServices.JavaScript
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute]
unsafe class __GeneratedInitializer
{
[global::System.ThreadStaticAttribute]
static bool initialized;
[global::System.Runtime.CompilerServices.ModuleInitializerAttribute, global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods, "System.Runtime.InteropServices.JavaScript.__GeneratedInitializer", "Microsoft.AspNetCore.Components.WebAssembly")]
static internal void __TrimmingPreserve_()
{
}
[global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_InvokeDotNet_10580945", "Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime", "Microsoft.AspNetCore.Components.WebAssembly")]
[global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_EndInvokeJS_92020726", "Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime", "Microsoft.AspNetCore.Components.WebAssembly")]
[global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_BeginInvokeDotNet_1855805417", "Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime", "Microsoft.AspNetCore.Components.WebAssembly")]
[global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_UpdateRootComponentsCore_677461511", "Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime", "Microsoft.AspNetCore.Components.WebAssembly")]
[global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_ReceiveByteArrayFromJS_1130394556", "Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime", "Microsoft.AspNetCore.Components.WebAssembly")]
static void __Register_()
{
if (initialized || global::System.Runtime.InteropServices.RuntimeInformation.OSArchitecture != global::System.Runtime.InteropServices.Architecture.Wasm)
return;
initialized = true;
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[Microsoft.AspNetCore.Components.WebAssembly]Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime:InvokeDotNet", 10580945, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, 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.String]);
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[Microsoft.AspNetCore.Components.WebAssembly]Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime:EndInvokeJS", 92020726, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[Microsoft.AspNetCore.Components.WebAssembly]Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime:BeginInvokeDotNet", 1855805417, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[Microsoft.AspNetCore.Components.WebAssembly]Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime:UpdateRootComponentsCore", 677461511, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[Microsoft.AspNetCore.Components.WebAssembly]Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime:ReceiveByteArrayFromJS", 1130394556, [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)]);
}
}
}
namespace Microsoft.AspNetCore.Components.WebAssembly.Services
{
internal sealed unsafe partial class DefaultWebAssemblyJSRuntime
{
[global::System.Diagnostics.DebuggerNonUserCode]
internal static unsafe void __Wrapper_InvokeDotNet_10580945(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
{
__Stub(__arguments_buffer[2], __arguments_buffer[3], __arguments_buffer[4], __arguments_buffer[5], __arguments_buffer, __arguments_buffer + 1);
[global::System.Diagnostics.DebuggerNonUserCode]
void __Stub(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __assemblyName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __methodIdentifier_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __dotNetObjectId_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __argsJson_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* ____arg_exception_native__param, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __invokeRetValUnmanaged__param)
{
string assemblyName = default;
string methodIdentifier = default;
long dotNetObjectId = default;
string argsJson = default;
ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native = ref *____arg_exception_native__param;
ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __invokeRetValUnmanaged = ref *__invokeRetValUnmanaged__param;
string __invokeRetVal = default;
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__argsJson_native.ToManaged(out argsJson);
__dotNetObjectId_native.ToManaged(out dotNetObjectId);
__methodIdentifier_native.ToManaged(out methodIdentifier);
__assemblyName_native.ToManaged(out assemblyName);
__invokeRetVal = global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.InvokeDotNet(assemblyName, methodIdentifier, dotNetObjectId, argsJson);
// Marshal - Convert managed data to native data.
__invokeRetValUnmanaged.ToJS(__invokeRetVal);
}
catch (global::System.Exception __arg_exception)
{
____arg_exception_native.ToJS(__arg_exception);
}
}
}
}
}
namespace Microsoft.AspNetCore.Components.WebAssembly.Services
{
internal sealed unsafe partial class DefaultWebAssemblyJSRuntime
{
[global::System.Diagnostics.DebuggerNonUserCode]
internal static unsafe void __Wrapper_EndInvokeJS_92020726(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
{
__Stub(__arguments_buffer[2], __arguments_buffer);
[global::System.Diagnostics.DebuggerNonUserCode]
void __Stub(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __argsJson_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* ____arg_exception_native__param)
{
string argsJson = default;
ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native = ref *____arg_exception_native__param;
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__argsJson_native.ToManaged(out argsJson);
global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.EndInvokeJS(argsJson);
}
catch (global::System.Exception __arg_exception)
{
____arg_exception_native.ToJS(__arg_exception);
}
}
}
}
}
namespace Microsoft.AspNetCore.Components.WebAssembly.Services
{
internal sealed unsafe partial class DefaultWebAssemblyJSRuntime
{
[global::System.Diagnostics.DebuggerNonUserCode]
internal static unsafe void __Wrapper_BeginInvokeDotNet_1855805417(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
{
__Stub(__arguments_buffer[2], __arguments_buffer[3], __arguments_buffer[4], __arguments_buffer[5], __arguments_buffer);
[global::System.Diagnostics.DebuggerNonUserCode]
void __Stub(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __callId_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __assemblyNameOrDotNetObjectId_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __methodIdentifier_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __argsJson_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* ____arg_exception_native__param)
{
string callId = default;
string assemblyNameOrDotNetObjectId = default;
string methodIdentifier = default;
string argsJson = default;
ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native = ref *____arg_exception_native__param;
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__argsJson_native.ToManaged(out argsJson);
__methodIdentifier_native.ToManaged(out methodIdentifier);
__assemblyNameOrDotNetObjectId_native.ToManaged(out assemblyNameOrDotNetObjectId);
__callId_native.ToManaged(out callId);
global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.BeginInvokeDotNet(callId, assemblyNameOrDotNetObjectId, methodIdentifier, argsJson);
}
catch (global::System.Exception __arg_exception)
{
____arg_exception_native.ToJS(__arg_exception);
}
}
}
}
}
namespace Microsoft.AspNetCore.Components.WebAssembly.Services
{
internal sealed unsafe partial class DefaultWebAssemblyJSRuntime
{
[global::System.Diagnostics.DebuggerNonUserCode]
internal static unsafe void __Wrapper_UpdateRootComponentsCore_677461511(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
{
__Stub(__arguments_buffer[2], __arguments_buffer[3], __arguments_buffer);
[global::System.Diagnostics.DebuggerNonUserCode]
void __Stub(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __operationsJson_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __appState_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* ____arg_exception_native__param)
{
string operationsJson = default;
string appState = default;
ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native = ref *____arg_exception_native__param;
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__appState_native.ToManaged(out appState);
__operationsJson_native.ToManaged(out operationsJson);
global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.UpdateRootComponentsCore(operationsJson, appState);
}
catch (global::System.Exception __arg_exception)
{
____arg_exception_native.ToJS(__arg_exception);
}
}
}
}
}
namespace Microsoft.AspNetCore.Components.WebAssembly.Services
{
internal sealed unsafe partial class DefaultWebAssemblyJSRuntime
{
[global::System.Diagnostics.DebuggerNonUserCode]
internal static unsafe void __Wrapper_ReceiveByteArrayFromJS_1130394556(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
{
__Stub(__arguments_buffer[2], __arguments_buffer[3], __arguments_buffer);
[global::System.Diagnostics.DebuggerNonUserCode]
void __Stub(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __id_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __data_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* ____arg_exception_native__param)
{
int id = default;
byte[] data = default;
ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native = ref *____arg_exception_native__param;
try
{
// UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
__data_native.ToManaged(out data);
__id_native.ToManaged(out id);
global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.ReceiveByteArrayFromJS(id, data);
}
catch (global::System.Exception __arg_exception)
{
____arg_exception_native.ToJS(__arg_exception);
}
}
}
}
}
|