From 8a0e998902c8cce15216c40321259063718bfad2 Mon Sep 17 00:00:00 2001 From: "pr.jung" Date: Fri, 13 Oct 2017 15:22:16 +0900 Subject: [PATCH] [Usb]Remove XML warnings Change-Id: Ibcd1577a007a9f4386236a7e93c2d59f80200ca2 Signed-off-by: pr.jung --- src/Tizen.System.Usb/Usb/UsbConfiguration.cs | 9 +++++++++ src/Tizen.System.Usb/Usb/UsbDevice.cs | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) mode change 100755 => 100644 src/Tizen.System.Usb/Usb/UsbDevice.cs diff --git a/src/Tizen.System.Usb/Usb/UsbConfiguration.cs b/src/Tizen.System.Usb/Usb/UsbConfiguration.cs index ba9abfb..9ef8c98 100644 --- a/src/Tizen.System.Usb/Usb/UsbConfiguration.cs +++ b/src/Tizen.System.Usb/Usb/UsbConfiguration.cs @@ -128,6 +128,9 @@ namespace Tizen.System.Usb #region IDisposable Support private bool disposedValue = false; + /// + /// Releases all resources used by the ConnectionProfile. + /// It should be called after finished using of the object. protected virtual void Dispose(bool disposing) { if (!disposedValue) @@ -137,11 +140,17 @@ namespace Tizen.System.Usb } } + /// + /// Finalizes an instance of the UsbConfiguration class. + /// ~UsbConfiguration() { Dispose(false); } + /// + /// Releases all resources used by the ConnectionProfile. + /// It should be called after finished using of the object. public void Dispose() { Dispose(true); diff --git a/src/Tizen.System.Usb/Usb/UsbDevice.cs b/src/Tizen.System.Usb/Usb/UsbDevice.cs old mode 100755 new mode 100644 index f6e37d3..8f8fe4a --- a/src/Tizen.System.Usb/Usb/UsbDevice.cs +++ b/src/Tizen.System.Usb/Usb/UsbDevice.cs @@ -189,6 +189,9 @@ namespace Tizen.System.Usb #region IDisposable Support private bool disposedValue = false; + /// + /// Releases all resources used by the ConnectionProfile. + /// It should be called after finished using of the object. protected virtual void Dispose(bool disposing) { if (!disposedValue) @@ -206,11 +209,17 @@ namespace Tizen.System.Usb } } - ~UsbDevice() + /// + /// Finalizes an instance of the UsbDevice class. + /// + ~UsbDevice() { Dispose(false); } + /// + /// Releases all resources used by the ConnectionProfile. + /// It should be called after finished using of the object. public void Dispose() { Dispose(true); -- 2.7.4