Class EcoreEvent<TEventArgs>
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
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
-
objectEcoreEvent<TEventArgs>
- Derived
- Implements
-
System.IDisposable
Constructors
View Source
EcoreEvent(EcoreEventType, 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<TEventArgs>.EventInfoParser | parser | EventInfoParser |
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 |
Methods
Declaration
C#Copypublic void Dispose()
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true if the managed resources should be disposed, otherwise false. |
Declaration
C#Copyprotected ~EcoreEvent()
Events
Declaration
C#Copypublic event EventHandler<TEventArgs> On
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><TEventArgs> |
Implements
System.IDisposable