Class SmartEvent
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
It inherits IInvalidatable. EvasObject can elect the SmartEvent occurring inside them, to be reported back to their users via delegates. This way, you can extend EvasObject's own EvasObjectEvent. They are defined by an event string, which identifies them uniquely.
C#Copypublic class SmartEvent : IInvalidatable, IDisposable
- Inheritance
-
SmartEvent
- Implements
-
System.IDisposable
Constructors
View Source
SmartEvent(EvasObject, String)
Creates and initializes a new instance of the SmartEvent class.
Declaration
C#Copypublic SmartEvent(EvasObject sender, string eventName)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | sender | The source of the event. |
System.String | eventName | The event name. |
API Level: preview
Methods
Declaration
C#Copypublic void Dispose()
API Level: preview
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true if the managed resources should be disposed, otherwise false. |
API Level: preview
Declaration
C#Copyprotected void Finalize()
Declaration
C#Copypublic void MakeInvalidate()
API Level: preview
Events
Declaration
C#Copypublic event EventHandler On
Event Type
Type | Description |
---|---|
EventHandler |
API Level: preview
Implements
System.IDisposable