1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Ui {
8 /// <summary>Elementary radio internal part class</summary>
9 [RadioLegacyPartNativeInherit]
10 public class RadioLegacyPart : Efl.Ui.LayoutPartContent, Efl.Eo.IWrapper
12 public new static System.IntPtr klass = System.IntPtr.Zero;
13 public new static Efl.Ui.RadioLegacyPartNativeInherit nativeInherit = new Efl.Ui.RadioLegacyPartNativeInherit();
14 ///<summary>Pointer to the native class description.</summary>
15 public override System.IntPtr NativeClass {
17 if (((object)this).GetType() == typeof (RadioLegacyPart))
18 return Efl.Ui.RadioLegacyPartNativeInherit.GetEflClassStatic();
20 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
23 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
24 efl_ui_radio_legacy_part_class_get();
25 ///<summary>Creates a new instance.</summary>
26 ///<param name="parent">Parent instance.</param>
27 public RadioLegacyPart(Efl.Object parent= null
29 base(efl_ui_radio_legacy_part_class_get(), typeof(RadioLegacyPart), parent)
31 FinishInstantiation();
33 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
34 public RadioLegacyPart(System.IntPtr raw) : base(raw)
36 register_event_proxies();
38 ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
39 protected RadioLegacyPart(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
40 ///<summary>Casts obj into an instance of this type.</summary>
41 public new static RadioLegacyPart static_cast(Efl.Object obj)
44 throw new System.ArgumentNullException("obj");
45 return new RadioLegacyPart(obj.NativeHandle);
47 ///<summary>Verifies if the given object is equal to this one.</summary>
48 public override bool Equals(object obj)
50 var other = obj as Efl.Object;
53 return this.NativeHandle == other.NativeHandle;
55 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
56 public override int GetHashCode()
58 return this.NativeHandle.ToInt32();
60 ///<summary>Turns the native pointer into a string representation.</summary>
61 public override String ToString()
63 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
65 protected override void register_event_proxies()
67 base.register_event_proxies();
69 private static new IntPtr GetEflClassStatic()
71 return Efl.Ui.RadioLegacyPart.efl_ui_radio_legacy_part_class_get();
74 public class RadioLegacyPartNativeInherit : Efl.Ui.LayoutPartContentNativeInherit{
75 public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
76 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
78 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
79 descs.AddRange(base.GetEoOps(type));
82 public override IntPtr GetEflClass()
84 return Efl.Ui.RadioLegacyPart.efl_ui_radio_legacy_part_class_get();
86 public static new IntPtr GetEflClassStatic()
88 return Efl.Ui.RadioLegacyPart.efl_ui_radio_legacy_part_class_get();