Header menu logo FSharp.Core

Event<'Delegate, 'Args> Type

Event implementations for a delegate types following the standard .NET Framework convention of a first 'sender' argument.

Constructors

Constructor Description

Event()

Full Usage: Event()

Returns: Event<'Delegate, 'Args> The created event.

Creates an event object suitable for delegate types following the standard .NET Framework convention of a first 'sender' argument.

Returns: Event<'Delegate, 'Args>

The created event.

Instance members

Instance member Description

this.Publish

Full Usage: this.Publish

Returns: IEvent<'Delegate, 'Args>

Publishes the event as a first class event value.

Returns: IEvent<'Delegate, 'Args>

this.Trigger

Full Usage: this.Trigger

Parameters:
    sender : objnull - The object triggering the event.
    args : 'Args - The parameters for the event.

Triggers the event using the given sender object and parameters. The sender object may be null.

sender : objnull

The object triggering the event.

args : 'Args

The parameters for the event.

Type something to start searching.