Class SmartEvent<TEventArgs>
Definition
- Namespace:
- Elm
Sharp
- Assembly:
- ElmSharp.dll
It inherits IInvalidatable.
The event with TEventArgs for Evas
public class SmartEvent<TEventArgs> : IInvalidatable, IDisposable where TEventArgs : EventArgs
- Inheritance
-
objectSmart
Event<TEvent Args>
- Implements
-
System.
IDisposable
Constructors
View SourceSmartEvent(EvasObject, string, SmartEventInfoParser)
Creates and initializes a new instance of the SmartEvent class.
Declaration
public SmartEvent(EvasObject sender, string eventName, SmartEvent<TEventArgs>.SmartEventInfoParser parser)
Parameters
Type | Name | Description |
---|---|---|
Evas |
sender | The source of the event. |
string | eventName | The event name. |
Smart |
parser | The event parameter. |
SmartEvent(EvasObject, string)
Creates and initializes a new instance of the SmartEvent class.
Declaration
public SmartEvent(EvasObject sender, string eventName)
Parameters
Type | Name | Description |
---|---|---|
Evas |
sender | The source of the event. |
string | eventName | The event name. |
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. |
~SmartEvent()
Destroys the SmartEvent object.
Declaration
protected ~SmartEvent()
MakeInvalidate()
Makes the current instance invalidate.
Declaration
public void MakeInvalidate()
Events
View SourceOn
Adds or removes a delegate for the event.
Declaration
public event EventHandler<TEventArgs> On
Event Type
Type | Description |
---|---|
System. |