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#
Copy
public 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#
Copy
public 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#
Copy
public EcoreEvent(EcoreEventType type, EcoreEvent<TEventArgs>.EventInfoParser parser)
Parameters
Type Name Description
EcoreEventType type

EcoreEventType

EcoreEvent.EventInfoParser<> parser

EventInfoParser

API Level: preview

Methods

View Source

Dispose()

Destroys the current object.

Declaration
C#
Copy
public void Dispose()
API Level: preview
View Source

Dispose(Boolean)

Releases all the resources currently used by this instance.

Declaration
C#
Copy
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 Source

Finalize()

Destructor for the EcoreEvent class.

Declaration
C#
Copy
protected void Finalize()

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>
API Level: preview

Implements

System.IDisposable