9ddfc3561413e77f8cc6005698ff6ba3054af241
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / ScrollViewEffect.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 3.0.9
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10
11 namespace Tizen.NUI
12 {
13
14     public class ScrollViewEffect : BaseHandle
15     {
16         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
17
18         internal ScrollViewEffect(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ScrollViewEffect_SWIGUpcast(cPtr), cMemoryOwn)
19         {
20             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
21         }
22
23         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScrollViewEffect obj)
24         {
25             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
26         }
27
28
29         protected override void Dispose(DisposeTypes type)
30         {
31             if (disposed)
32             {
33                 return;
34             }
35
36             if (type == DisposeTypes.Explicit)
37             {
38                 //Called by User
39                 //Release your own managed resources here.
40                 //You should release all of your own disposable objects here.
41
42             }
43
44             //Release your own unmanaged resources here.
45             //You should not access any managed member here except static instance.
46             //because the execution order of Finalizes is non-deterministic.
47
48             if (swigCPtr.Handle != global::System.IntPtr.Zero)
49             {
50                 if (swigCMemOwn)
51                 {
52                     swigCMemOwn = false;
53                     NDalicPINVOKE.delete_ScrollViewEffect(swigCPtr);
54                 }
55                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
56             }
57
58             base.Dispose(type);
59         }
60
61
62         public ScrollViewEffect() : this(NDalicPINVOKE.new_ScrollViewEffect(), true)
63         {
64             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
65         }
66
67     }
68
69 }