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#
Copy
public class EcoreEvent<TEventArgs> : IDisposable where TEventArgs : EventArgs
Inheritance
object
EcoreEvent<TEventArgs>
Derived
Implements
System.IDisposable

Constructors

View Source

EcoreEvent(EcoreEventType, EventInfoParser)

Creates and initializes a new instance of the EcoreEvent class.

Declaration
C#
Copy
public 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#
Copy
public EcoreEvent(EcoreEventType type)
Parameters
Type Name Description
EcoreEventType type

EcoreEventType

Methods

View Source

Dispose()

Destroys the current object.

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(bool)

Releases all the resources currently used by this instance.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

true if the managed resources should be disposed, otherwise false.

View Source

~EcoreEvent()

Destructor for the EcoreEvent class.

Declaration
C#
Copy
protected ~EcoreEvent()

Events

View Source

On

On Event Handler of the EcoreEvent.

Declaration
C#
Copy
public event EventHandler<TEventArgs> On
Event Type
Type Description
System.EventHandler<TEventArgs><TEventArgs>

Implements

System.IDisposable