Table of contents
TOC
Collapse the table of content
Expand the table of content

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

Den Delimarsky|Last Updated: 8/18/2017
|
1 Contributor

Event implementations for the IEvent type.

Namespace/Module Path: Microsoft.FSharp.Control

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

Syntax

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

MemberDescription
newCreates an observable object.

Instance Members

MemberDescription
PublishPublishes an observation as a first class value.
TriggerTriggers an observation using the given parameters.

Platforms

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

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Microsoft.FSharp.Control Namespace (F#)

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

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

© 2017 Microsoft