From 18e94fc64607ade45948050edcabb8b2c890a816 Mon Sep 17 00:00:00 2001 From: Jooseok Song Date: Thu, 28 Sep 2017 14:35:39 +0900 Subject: [PATCH] Removce warning for xml Change-Id: I204dfad487a10eb5b08358f905b55674a404347e --- .../Tizen.Account.AccountManager/Account.cs | 19 ++++++++++++++----- .../Tizen.Account.AccountManager/AccountProvider.cs | 15 +++++++++++++++ 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/Tizen.Account.AccountManager/Tizen.Account.AccountManager/Account.cs b/Tizen.Account.AccountManager/Tizen.Account.AccountManager/Account.cs index 2a09e98..386b154 100644 --- a/Tizen.Account.AccountManager/Tizen.Account.AccountManager/Account.cs +++ b/Tizen.Account.AccountManager/Tizen.Account.AccountManager/Account.cs @@ -27,16 +27,20 @@ namespace Tizen.Account.AccountManager { private readonly SafeAccountHandle _handle; - /// - /// Account constructor. - /// - /// 4 - /// The account handle. + /// + /// Account constructor. + /// + /// 4 + /// The account handle. public Account(SafeAccountHandle handle) { _handle = handle; } + /// + /// Account destructor. + /// + /// 4 ~Account() { Dispose(false); @@ -612,6 +616,11 @@ namespace Tizen.Account.AccountManager GC.SuppressFinalize(this); } + /// + /// Dispose API for destroying the account handle. + /// + /// 3 + /// The boolean value for destoying account handle. protected virtual void Dispose(bool disposing) { if (!disposing) diff --git a/Tizen.Account.AccountManager/Tizen.Account.AccountManager/AccountProvider.cs b/Tizen.Account.AccountManager/Tizen.Account.AccountManager/AccountProvider.cs index be9e077..a580322 100644 --- a/Tizen.Account.AccountManager/Tizen.Account.AccountManager/AccountProvider.cs +++ b/Tizen.Account.AccountManager/Tizen.Account.AccountManager/AccountProvider.cs @@ -27,11 +27,21 @@ namespace Tizen.Account.AccountManager public class AccountProvider : IDisposable { internal IntPtr _handle; + + /// + /// AccountProvider destructor. + /// + /// 3 + /// The account handle. internal AccountProvider(IntPtr handle) { Handle = handle; } + /// + /// AccountProvider deconstructor. + /// + /// 3 ~AccountProvider() { Dispose(false); @@ -365,6 +375,11 @@ namespace Tizen.Account.AccountManager GC.SuppressFinalize(this); } + /// + /// Dispose API for destroying the AccountProvider handle. + /// + /// 3 + /// The boolean value for destoying AccountProvider handle. protected virtual void Dispose(bool disposing) { if (!disposing) -- 2.7.4