///<summary>Method to raise event ChildAddedEvt.</summary> public void On_ChildAddedEvt(Efl.ModelChildAddedEvt_Args e) { EventHandler <Efl.ModelChildAddedEvt_Args> evt; lock (eventLock) { evt = (EventHandler <Efl.ModelChildAddedEvt_Args>)eventHandlers[ChildAddedEvtKey]; } evt?.Invoke(this, e); }
private void on_ChildAddedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt) { Efl.ModelChildAddedEvt_Args args = new Efl.ModelChildAddedEvt_Args(); args.arg = evt.Info;; try { On_ChildAddedEvt(args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } }