public static bool Uninitialize(bool forceShutdown = false) { DynamicEventReceiver.Uninitialize(); Message.Uninitialize(); UninitializeFactories(); return(Platform_uninitialize(forceShutdown)); }
static private void OnEvent_callback(IntPtr instance, IntPtr sender, UInt64 event_id, IntPtr a0, IntPtr a1, IntPtr a2, IntPtr a3, IntPtr a4, IntPtr a5, IntPtr a6, IntPtr a7, IntPtr a8, IntPtr a9) { DynamicEventReceiver recv = ReferenceDictionary <DynamicEventReceiver> .GetObject(instance); if (recv != null) { recv.OnEvent?.Invoke(recv, Reference.CreateObject(sender) as DynamicEventInterface, event_id, new DynamicType(a0), new DynamicType(a1), new DynamicType(a2), new DynamicType(a3), new DynamicType(a4), new DynamicType(a5), new DynamicType(a6), new DynamicType(a7), new DynamicType(a8), new DynamicType(a9)); } }
public static bool Initialize() { bool result = Platform_initialize(); if (result) { InitializeFactories(); Message.Initialize(); DynamicEventReceiver.Initialize(); } return(result); }