{
private readonly SafeAccountHandle _handle;
+ /// <summary>
+ /// Account constructor.
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <param name="handle"> The account handle.</param>
public Account(SafeAccountHandle handle)
{
_handle = handle;
GC.SuppressFinalize(this);
}
- private void Dispose(bool disposing)
+ protected virtual void Dispose(bool disposing)
{
if (!disposing)
{
- //if (_handle != IntPtr.Zero)
- //{
- // _handle = IntPtr.Zero;
- //}
- //_handle.Dispose();
- GC.SuppressFinalize(this);
+ _handle.Dispose();
}
}
}
namespace Tizen.Account.AccountManager
{
/// <summary>
- /// Enumeration for the types of error occured, if any.
+ /// Enumeration for the types of error occurred, if any.
/// </summary>
/// <since_tizen> 3 </since_tizen>
public enum AccountError
/// Same user name exists in your application.
/// </summary>
/// <since_tizen> 3 </since_tizen>
- Duplcated = -0x01000000 | 0x01,
+ Duplicated = -0x01000000 | 0x01,
/// <summary>
/// Empty data.
/// </summary>
}
/// <summary>
- /// Serviceprovider ID of the account provider.
+ /// ServiceProvider ID of the account provider.
/// </summary>
/// <since_tizen> 3 </since_tizen>
public string ServiceProviderId
GC.SuppressFinalize(this);
}
- private void Dispose(bool disposing)
+ protected virtual void Dispose(bool disposing)
{
if (!disposing)
{
/// <returns>The AccountProvider instance associated with the given application ID.</returns>
/// <privilege>http://tizen.org/privilege/account.read</privilege>
/// <feature>http://tizen.org/feature/account</feature>
- /// <exception cref="InvalidOperationException">In case of any DB error or record not found for given appid.</exception>
+ /// <exception cref="InvalidOperationException">In case of any DB error or record not found for given appId.</exception>
/// <exception cref="ArgumentException"> In case of an invalid parameter.</exception>
/// <exception cref="UnauthorizedAccessException"> In case of privilege not defined.</exception>
/// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// </summary>
/// <since_tizen> 3 </since_tizen>
/// <param name="account">New Account instance to be added.</param>
+ /// <returns>The account ID of the account instance.</returns>
/// <privilege>http://tizen.org/privilege/account.read</privilege>
/// <privilege>http://tizen.org/privilege/account.write </privilege>
/// <feature>http://tizen.org/feature/account</feature>
/// </summary>
/// <since_tizen> 3 </since_tizen>
/// <remarks>
- /// ContentUpdate event is triggered if the MediaInformaion updated/deleted or new information is inserted.
+ /// ContentUpdate event is triggered if the MediaInformation updated/deleted or new information is inserted.
/// </remarks>
- /// <param name="sender"></param>
+ /// <param name="sender">An object that contains information about sender</param>
/// <param name="e">A ContentUpdatedEventArgs object that contains information about the update operation.</param>
/// <privilege>http://tizen.org/privilege/account.read</privilege>
/// <feature>http://tizen.org/feature/account</feature>