Class EvasObjectEvent<TEventArgs>
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
Event class for EvasObject.
public class EvasObjectEvent<TEventArgs> : IInvalidatable, IDisposable where TEventArgs : EventArgs
- Inheritance
-
objectEvasObjectEvent<TEventArgs>
- Implements
-
System.IDisposable
Constructors
View SourceEvasObjectEvent(EvasObject, EvasObjectCallbackType, SmartEventInfoParser)
Creates and initializes a new instance of the EvasObjectEvent.
Declaration
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type, EvasObjectEvent<TEventArgs>.SmartEventInfoParser parser)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | sender | EvasObject class belongs to. |
EvasObjectCallbackType | type | EvasObjectCallbackType |
EvasObjectEvent<TEventArgs>.SmartEventInfoParser | parser | SmartEventInfoParser |
EvasObjectEvent(EvasObject, EvasObjectCallbackType)
Creates and initializes a new instance of the EvasObjectEvent.
Declaration
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | sender | EvasObject class belongs to. |
EvasObjectCallbackType | type | SmartEventInfoParser |
Methods
View SourceDispose()
Destroys the current object.
Declaration
public void Dispose()
Dispose(bool)
Releases all the resources currently used by this instance.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true if the managed resources should be disposed otherwise, false. |
~EvasObjectEvent()
Destroys the EvasObjectEvent object.
Declaration
protected ~EvasObjectEvent()
MakeInvalidate()
Makes the current instance invalidate.
Declaration
public void MakeInvalidate()
Events
View SourceOn
On Event Handler of the EvasObjectEvent.
Declaration
public event EventHandler<TEventArgs> On
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><TEventArgs> |
Implements
System.IDisposable