Class EcoreEvent<TEventArgs>
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The EcoreEvent is a class to help create events that are being notified of events.
C#Copypublic class EcoreEvent<TEventArgs> : IDisposable where TEventArgs : EventArgs
- Inheritance
-
EcoreEvent<TEventArgs>
- Derived
- Implements
-
System.IDisposable
Constructors
View Source
EcoreEvent(EcoreEventType)
Creates and initializes a new instance of the EcoreEvent class.
Declaration
C#Copypublic EcoreEvent(EcoreEventType type)
Parameters
Type | Name | Description |
---|---|---|
EcoreEventType | type | EcoreEventType |
API Level: preview
View Source
EcoreEvent(EcoreEventType, EcoreEvent<TEventArgs>.EventInfoParser)
Creates and initializes a new instance of the EcoreEvent class.
Declaration
C#Copypublic EcoreEvent(EcoreEventType type, EcoreEvent<TEventArgs>.EventInfoParser parser)
Parameters
Type | Name | Description |
---|---|---|
EcoreEventType | type | EcoreEventType |
EcoreEvent.EventInfoParser<> | parser | EventInfoParser |
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()
Events
Declaration
C#Copypublic event EventHandler<TEventArgs> On
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs> |
API Level: preview
Implements
System.IDisposable