[EflSharp] Update Circle and efl cs files (#896)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_slider_interval.eo.cs
index c320e34..c0080f7 100644 (file)
@@ -12,7 +12,7 @@ namespace Ui {
 /// <summary>An interval slider.
 /// This is a slider with two indicators.</summary>
 [Efl.Ui.SliderInterval.NativeMethods]
-public class SliderInterval : Efl.Ui.Slider, Efl.Eo.IWrapper
+public class SliderInterval : Efl.Ui.Slider
 {
     ///<summary>Pointer to the native class description.</summary>
     public override System.IntPtr NativeClass
@@ -51,7 +51,7 @@ public class SliderInterval : Efl.Ui.Slider, Efl.Eo.IWrapper
     /// <param name="raw">The native pointer to be wrapped.</param>
     protected SliderInterval(System.IntPtr raw) : base(raw)
     {
-            }
+    }
 
     /// <summary>Initializes a new instance of the <see cref="SliderInterval"/> class.
     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
@@ -62,33 +62,6 @@ public class SliderInterval : Efl.Ui.Slider, Efl.Eo.IWrapper
     {
     }
 
-    /// <summary>Verifies if the given object is equal to this one.</summary>
-    /// <param name="instance">The object to compare to.</param>
-    /// <returns>True if both objects point to the same native object.</returns>
-    public override bool Equals(object instance)
-    {
-        var other = instance as Efl.Object;
-        if (other == null)
-        {
-            return false;
-        }
-        return this.NativeHandle == other.NativeHandle;
-    }
-
-    /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
-    /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
-    public override int GetHashCode()
-    {
-        return this.NativeHandle.ToInt32();
-    }
-
-    /// <summary>Turns the native pointer into a string representation.</summary>
-    /// <returns>A string with the type and the native pointer for this object.</returns>
-    public override String ToString()
-    {
-        return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
-    }
-
     /// <summary>Sets up position of two indicators at start and end position.</summary>
     /// <param name="from">interval minimum value</param>
     /// <param name="to">interval maximum value</param>
@@ -149,7 +122,7 @@ public class SliderInterval : Efl.Ui.Slider, Efl.Eo.IWrapper
             return Efl.Ui.SliderInterval.efl_ui_slider_interval_class_get();
         }
 
-        #pragma warning disable CA1707, SA1300, SA1600
+        #pragma warning disable CA1707, CS1591, SA1300, SA1600
 
         
         private delegate void efl_ui_slider_interval_value_get_delegate(System.IntPtr obj, System.IntPtr pd,  out double from,  out double to);
@@ -162,13 +135,13 @@ public class SliderInterval : Efl.Ui.Slider, Efl.Eo.IWrapper
         private static void interval_value_get(System.IntPtr obj, System.IntPtr pd, out double from, out double to)
         {
             Eina.Log.Debug("function efl_ui_slider_interval_value_get was called");
-            Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
-            if (wrapper != null)
+            var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+            if (ws != null)
             {
                         from = default(double);        to = default(double);                            
                 try
                 {
-                    ((SliderInterval)wrapper).GetIntervalValue(out from, out to);
+                    ((SliderInterval)ws.Target).GetIntervalValue(out from, out to);
                 }
                 catch (Exception e)
                 {
@@ -197,13 +170,13 @@ public class SliderInterval : Efl.Ui.Slider, Efl.Eo.IWrapper
         private static void interval_value_set(System.IntPtr obj, System.IntPtr pd, double from, double to)
         {
             Eina.Log.Debug("function efl_ui_slider_interval_value_set was called");
-            Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
-            if (wrapper != null)
+            var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+            if (ws != null)
             {
                                                             
                 try
                 {
-                    ((SliderInterval)wrapper).SetIntervalValue(from, to);
+                    ((SliderInterval)ws.Target).SetIntervalValue(from, to);
                 }
                 catch (Exception e)
                 {
@@ -221,7 +194,7 @@ public class SliderInterval : Efl.Ui.Slider, Efl.Eo.IWrapper
 
         private static efl_ui_slider_interval_value_set_delegate efl_ui_slider_interval_value_set_static_delegate;
 
-        #pragma warning restore CA1707, SA1300, SA1600
+        #pragma warning restore CA1707, CS1591, SA1300, SA1600
 
 }
 }