IDelegateEvent<'Delegate> Type
First class event values for arbitrary delegate types.
F# gives special status to member properties compatible with type IDelegateEvent and tagged with the CLIEventAttribute. In this case the F# compiler generates appropriate CLI metadata to make the member appear to other CLI languages as a CLI event.
Instance members
Instance member |
Description
|
Full Usage:
this.AddHandler
Parameters:
'Delegate
-
A delegate to be invoked when the event is fired.
Modifiers: abstract |
Connect a handler delegate object to the event. A handler can be later removed using RemoveHandler. The listener will be invoked when the event is fired.
|
Full Usage:
this.RemoveHandler
Parameters:
'Delegate
-
The delegate to be removed from the event listener store.
Modifiers: abstract |
Remove a listener delegate from an event listener store.
|