Control.Event<'T> Class (F#)

Event implementations for the IEvent type.

Namespace/Module Path: Microsoft.FSharp.Control

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

type Event<'T> =
 class
  new Event : unit -> Event<'T>
  member this.Trigger : 'T -> unit
  member this.Publish :  IEvent<'T>
 end

Remarks

Functions that work with events are defined in the Event module.

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.

Constructors

Member

Description

new

Creates an observable object.

Instance Members

Member

Description

Publish

Publishes an observation as a first class value.

Trigger

Triggers an observation using the given parameters.

Platforms

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 3

See Also

Reference

Microsoft.FSharp.Control Namespace (F#)

Control.IEvent<'T> Type Abbreviation (F#)

Control.IEvent<'Delegate,'Args> Interface (F#)