[Connection] Removed IDisposable from IAddressInformation
authoradhavan.m <adhavan.m@samsung.com>
Fri, 24 Feb 2017 06:35:11 +0000 (12:05 +0530)
committerchleun.moon <chleun.moon@samsung.com>
Tue, 28 Feb 2017 00:52:55 +0000 (09:52 +0900)
Change-Id: I5771428fc9d515f1b369473b79a0a701c3957dca
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
packaging/csapi-network-connection.spec
src/Tizen.Network.Connection/Tizen.Network.Connection/IAddressInformation.cs

index e204e6f..6ee3cc4 100644 (file)
@@ -1,6 +1,6 @@
 Name:       csapi-network-connection
 Summary:    Tizen Connection API for C#
-Version:    1.0.9
+Version:    1.0.10
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
index 6842500..b9f76aa 100755 (executable)
@@ -27,7 +27,7 @@ namespace Tizen.Network.Connection
     /// <summary>
     /// This interface provides properties to manage address information of the connection.
     /// </summary>
-    public interface IAddressInformation : IDisposable
+    public interface IAddressInformation
     {
         /// <summary>
         /// The DNS address.
@@ -64,7 +64,6 @@ namespace Tizen.Network.Connection
     {
         private IntPtr _profileHandle;
         private AddressFamily _family;
-        private bool _disposed = false;
 
         internal ConnectionAddressInformation(IntPtr handle, AddressFamily family)
         {
@@ -72,29 +71,6 @@ namespace Tizen.Network.Connection
             _family = family;
         }
 
-        ~ConnectionAddressInformation()
-        {
-            Dispose(false);
-        }
-
-        protected void Dispose(bool disposing)
-        {
-            if (_disposed)
-                return;
-
-            if (disposing)
-            {
-                // Release managed resources.
-            }
-            // Release unmanaged resources.
-            _disposed = true;
-        }
-
-        public void Dispose()
-        {
-            throw new NotImplementedException();
-        }
-
         public System.Net.IPAddress Dns1
         {
             get