/// <summary>Elementary progressbar internal part class</summary>
[Efl.Ui.ProgressbarLegacyPart.NativeMethods]
-public class ProgressbarLegacyPart : Efl.Ui.LayoutPartContent, Efl.Eo.IWrapper
+public class ProgressbarLegacyPart : Efl.Ui.LayoutPartContent
{
///<summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
/// <param name="raw">The native pointer to be wrapped.</param>
protected ProgressbarLegacyPart(System.IntPtr raw) : base(raw)
{
- }
+ }
/// <summary>Initializes a new instance of the <see cref="ProgressbarLegacyPart"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
{
}
- /// <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}]";
- }
-
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.ProgressbarLegacyPart.efl_ui_progressbar_legacy_part_class_get();
return Efl.Ui.ProgressbarLegacyPart.efl_ui_progressbar_legacy_part_class_get();
}
- #pragma warning disable CA1707, SA1300, SA1600
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
- #pragma warning restore CA1707, SA1300, SA1600
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}