Header menu logo FSharp.Core

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

this.AddHandler

Full Usage: this.AddHandler

Parameters:
    handler : '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.

handler : 'Delegate

A delegate to be invoked when the event is fired.

this.RemoveHandler

Full Usage: this.RemoveHandler

Parameters:
    handler : 'Delegate - The delegate to be removed from the event listener store.

Modifiers: abstract

Remove a listener delegate from an event listener store.

handler : 'Delegate

The delegate to be removed from the event listener store.

Type something to start searching.