EventInfo<TSource,TEventHandler> class

Provides methods for adding and removing handlers from an event.

public class EventInfo<TSource, TEventHandler>
    where TEventHandler : class
parameter description
TSource The type of the source.
TEventHandler The type of the event handler.

Public Members

name description
EventInfo(…) Initializes a new instance of the EventInfo class.
AddHandler(…) Adds an event handler to the event of the specified source.
RemoveHandler(…) Removes an event handler from the event of the specified source.
Subscribe(…) Subscribes to the event of the specified source.

Remarks

This class does not have a mechanism for raising the event. It is designed to provide clients with generic-type-compatible access to events.

See Also