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.
public class EcoreEvent<TEventArgs> : IDisposable where TEventArgs : EventArgs
- Inheritance
-
EcoreEvent<TEventArgs>
- Derived
- Implements
Constructors
View SourceEcoreEvent(EcoreEventType)
Creates and initializes a new instance of the EcoreEvent class.
Declaration
public EcoreEvent(EcoreEventType type)
Parameters
Type | Name | Description |
---|---|---|
EcoreEventType | type | EcoreEventType |
API Level: preview
View SourceEcoreEvent(EcoreEventType, EcoreEvent<TEventArgs>.EventInfoParser)
Creates and initializes a new instance of the EcoreEvent class.
Declaration
public EcoreEvent(EcoreEventType type, EcoreEvent<TEventArgs>.EventInfoParser parser)
Parameters
Type | Name | Description |
---|---|---|
EcoreEventType | type | EcoreEventType |
EcoreEvent.EventInfoParser<> | parser | EventInfoParser |
API Level: preview
Methods
View SourceDispose()
Destroys the current object.
Declaration
public void Dispose()
API Level: preview
View SourceDispose(Boolean)
Releases all the resources currently used by this instance.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true if the managed resources should be disposed, otherwise false. |
API Level: preview
View SourceFinalize()
Destructor for the EcoreEvent class.
Declaration
protected void Finalize()
Events
View SourceOn
On Event Handler of the EcoreEvent.
Declaration
public event EventHandler<TEventArgs> On
Event Type
Type | Description |
---|---|
EventHandler<TEventArgs> |