public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); if (efl_observable_observer_add_static_delegate == null) { efl_observable_observer_add_static_delegate = new efl_observable_observer_add_delegate(observer_add); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_observable_observer_add"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observer_add_static_delegate) }); if (efl_observable_observer_del_static_delegate == null) { efl_observable_observer_del_static_delegate = new efl_observable_observer_del_delegate(observer_del); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_observable_observer_del"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observer_del_static_delegate) }); if (efl_observable_observer_clean_static_delegate == null) { efl_observable_observer_clean_static_delegate = new efl_observable_observer_clean_delegate(observer_clean); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_observable_observer_clean"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observer_clean_static_delegate) }); if (efl_observable_observers_iterator_new_static_delegate == null) { efl_observable_observers_iterator_new_static_delegate = new efl_observable_observers_iterator_new_delegate(observers_iterator_new); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_observable_observers_iterator_new"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observers_iterator_new_static_delegate) }); if (efl_observable_observers_update_static_delegate == null) { efl_observable_observers_update_static_delegate = new efl_observable_observers_update_delegate(observers_update); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_observable_observers_update"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observers_update_static_delegate) }); if (efl_observable_iterator_tuple_new_static_delegate == null) { efl_observable_iterator_tuple_new_static_delegate = new efl_observable_iterator_tuple_new_delegate(iterator_tuple_new); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_observable_iterator_tuple_new"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_iterator_tuple_new_static_delegate) }); descs.AddRange(base.GetEoOps(type)); return(descs); }
/// <summary>Gets the list of Eo operations to override.</summary> /// <returns>The list of Eo operations to be overload.</returns> public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_observable_observer_add_static_delegate == null) { efl_observable_observer_add_static_delegate = new efl_observable_observer_add_delegate(observer_add); } if (methods.FirstOrDefault(m => m.Name == "AddObserver") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_observable_observer_add"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observer_add_static_delegate) }); } if (efl_observable_observer_del_static_delegate == null) { efl_observable_observer_del_static_delegate = new efl_observable_observer_del_delegate(observer_del); } if (methods.FirstOrDefault(m => m.Name == "DelObserver") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_observable_observer_del"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observer_del_static_delegate) }); } if (efl_observable_observer_clean_static_delegate == null) { efl_observable_observer_clean_static_delegate = new efl_observable_observer_clean_delegate(observer_clean); } if (methods.FirstOrDefault(m => m.Name == "ObserverClean") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_observable_observer_clean"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observer_clean_static_delegate) }); } if (efl_observable_observers_iterator_new_static_delegate == null) { efl_observable_observers_iterator_new_static_delegate = new efl_observable_observers_iterator_new_delegate(observers_iterator_new); } if (methods.FirstOrDefault(m => m.Name == "NewObserversIterator") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_observable_observers_iterator_new"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observers_iterator_new_static_delegate) }); } if (efl_observable_observers_update_static_delegate == null) { efl_observable_observers_update_static_delegate = new efl_observable_observers_update_delegate(observers_update); } if (methods.FirstOrDefault(m => m.Name == "UpdateObservers") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_observable_observers_update"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_observers_update_static_delegate) }); } if (efl_observable_iterator_tuple_new_static_delegate == null) { efl_observable_iterator_tuple_new_static_delegate = new efl_observable_iterator_tuple_new_delegate(iterator_tuple_new); } if (methods.FirstOrDefault(m => m.Name == "NewIteratorTuple") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_observable_iterator_tuple_new"), func = Marshal.GetFunctionPointerForDelegate(efl_observable_iterator_tuple_new_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); return(descs); }