Export (0) Print
Expand All

Control.Event<'Delegate,'Args> Class (F#)

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

Namespace/Module Path: Microsoft.FSharp.Control

Assembly: FSharp.Core (in FSharp.Core.dll)

type Event<'Delegate,'Args (requires delegate)> =
 class
  new Event : unit -> Event<'Delegate,'Args>
  member this.Trigger : obj * 'Args -> unit
  member this.Publish :  IEvent<'Delegate,'Args>
 end

This type is named FSharpEvent in compiled assemblies. If you are accessing the type from a language other than F#, or through reflection, use this name.

Member

Description

new

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

Member

Description

Publish

Publishes the event as a first class event value.

Trigger

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

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

Show:
© 2015 Microsoft