X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FEvasObjectEvent.cs;h=eb08d77523b0bc3b49d496a115c71abd0189d46c;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20170928.150026;hp=6799be300e4ff3f6a7f27cd30976f3f50d24c57c;hpb=973ec6e3ba15097e51ccb988ab6be17a6ed7ddfa;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/ElmSharp/ElmSharp/EvasObjectEvent.cs b/src/ElmSharp/ElmSharp/EvasObjectEvent.cs
old mode 100644
new mode 100755
index 6799be3..eb08d77
--- a/src/ElmSharp/ElmSharp/EvasObjectEvent.cs
+++ b/src/ElmSharp/ElmSharp/EvasObjectEvent.cs
@@ -27,6 +27,9 @@ namespace ElmSharp
///
public interface IInvalidatable : IDisposable
{
+ ///
+ /// Make current instance invalidate
+ ///
void MakeInvalidate();
}
@@ -248,6 +251,13 @@ namespace ElmSharp
{
}
+ ///
+ /// Creates and initializes a new instance of the EvasObjectEvent.
+ ///
+ /// EvasObject class belong to
+ /// EvasObject handle
+ /// EvasObjectCallbackType
+ /// SmartEventInfoParser
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public EvasObjectEvent(EvasObject sender, IntPtr handle, EvasObjectCallbackType type, SmartEventInfoParser parser)
{
@@ -267,6 +277,9 @@ namespace ElmSharp
{
}
+ ///
+ /// Destroy the EvasObjectEvent object.
+ ///
~EvasObjectEvent()
{
Dispose(false);
@@ -315,6 +328,13 @@ namespace ElmSharp
}
}
+ ///
+ /// Releases all resources currently used by this instance.
+ ///
+ ///
+ /// true if managed resources should be disposed
+ /// otherwise, false.
+ ///
protected virtual void Dispose(bool disposing)
{
if (!_disposed)
@@ -336,7 +356,7 @@ namespace ElmSharp
}
///
- /// Destroy Current Obj
+ /// Destroy current object
///
public void Dispose()
{
@@ -374,12 +394,21 @@ namespace ElmSharp
{
}
+ ///
+ /// Creates and initializes a new instance of the EvasObjectEvent.
+ ///
+ /// EvasObject class belong to
+ /// EvasObject handle
+ /// EvasObjectCallbackType
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public EvasObjectEvent(EvasObject sender, IntPtr handle, EvasObjectCallbackType type)
{
_evasObjectEvent = new EvasObjectEvent(sender, handle, type, null);
}
+ ///
+ /// Destroy the EvasObjectEvent object.
+ ///
~EvasObjectEvent()
{
Dispose(false);
@@ -414,6 +443,13 @@ namespace ElmSharp
_handlers?.Invoke(sender, e);
}
+ ///
+ /// Releases all resources currently used by this instance.
+ ///
+ ///
+ /// true if managed resources should be disposed
+ /// otherwise, false.
+ ///
protected virtual void Dispose(bool disposing)
{
if (!_disposed)
@@ -427,7 +463,7 @@ namespace ElmSharp
}
///
- /// Destroy Current Obj
+ /// Destroy current object
///
public void Dispose()
{