Interface IEvent<H>
Represents static event.
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public interface IEvent<in H> : IEvent, IMember<EventInfo>, ICustomAttributeProvider where H : MulticastDelegate
Type Parameters
| Name | Description |
|---|---|
| H | Type of event handler. |
Methods
| Improve this Doc View SourceAddEventHandler(H)
Add event handler.
Declaration
void AddEventHandler(H handler)
Parameters
| Type | Name | Description |
|---|---|---|
| H | handler | An event handler to add. |
RemoveEventHandler(H)
Remove event handler.
Declaration
void RemoveEventHandler(H handler)
Parameters
| Type | Name | Description |
|---|---|---|
| H | handler | An event handler to remove. |