Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Internal.Runtime.InteropServices.ComponentActivator Class Reference

Public Member Functions

delegate int ComponentEntryPoint (IntPtr args, int sizeBytes)
 

Static Public Member Functions

static unsafe int LoadAssemblyAndGetFunctionPointer (IntPtr assemblyPathNative, IntPtr typeNameNative, IntPtr methodNameNative, IntPtr delegateTypeNative, IntPtr reserved, IntPtr functionHandle)
 
static unsafe int GetFunctionPointer (IntPtr typeNameNative, IntPtr methodNameNative, IntPtr delegateTypeNative, IntPtr loadContext, IntPtr reserved, IntPtr functionHandle)
 

Properties

static bool IsSupported = InitializeIsSupported() [get]
 

Static Private Member Functions

static bool InitializeIsSupported ()
 
static string MarshalToString (IntPtr arg, string argName)
 
static IsolatedComponentLoadContext GetIsolatedComponentLoadContext (string assemblyPath)
 
static IntPtr InternalGetFunctionPointer (AssemblyLoadContext alc, string typeName, string methodName, IntPtr delegateTypeNative)
 

Static Private Attributes

static readonly Dictionary< string, IsolatedComponentLoadContexts_assemblyLoadContexts = new Dictionary<string, IsolatedComponentLoadContext>(StringComparer.InvariantCulture)
 
static readonly Dictionary< IntPtr, Delegates_delegates = new Dictionary<IntPtr, Delegate>()
 

Detailed Description

Definition at line 10 of file ComponentActivator.cs.


The documentation for this class was generated from the following file: