Class EcoreEvent<TEventArgs>
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The EcoreEvent is a class to help create events that are being notified of events.
[Obsolete("This has been deprecated in API12")]
public class EcoreEvent<TEventArgs> : IDisposable where TEventArgs : EventArgs
- Inheritance
-
objectEcoreEvent<TEventArgs>
- Derived
- Implements
-
System.IDisposable
Constructors
View SourceEcoreEvent(EcoreEventType, EventInfoParser)
Creates and initializes a new instance of the EcoreEvent class.
Declaration
[Obsolete("This has been deprecated in API12")]
public EcoreEvent(EcoreEventType type, EcoreEvent<TEventArgs>.EventInfoParser parser)
Parameters
Type | Name | Description |
---|---|---|
EcoreEventType | type | EcoreEventType |
EcoreEvent<TEventArgs>.EventInfoParser | parser | EventInfoParser |
EcoreEvent(EcoreEventType)
Creates and initializes a new instance of the EcoreEvent class.
Declaration
[Obsolete("This has been deprecated in API12")]
public EcoreEvent(EcoreEventType type)
Parameters
Type | Name | Description |
---|---|---|
EcoreEventType | type | EcoreEventType |
Methods
View SourceDispose()
Destroys the current object.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Dispose()
Dispose(bool)
Releases all the resources currently used by this instance.
Declaration
[Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true if the managed resources should be disposed, otherwise false. |
~EcoreEvent()
Destructor for the EcoreEvent class.
Declaration
protected ~EcoreEvent()
Events
View SourceOn
On Event Handler of the EcoreEvent.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler<TEventArgs> On
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><TEventArgs> |
Implements
System.IDisposable