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

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

Den Delimarsky|Last Updated: 7/1/2016
|
1 Contributor

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)

Syntax

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

Remarks

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 event object suitable for delegate types following the standard .NET Framework convention of a first 'sender' argument.

Instance Members

MemberDescription
PublishPublishes the event as a first class event value.
TriggerTriggers the event using the given sender object and parameters. The sender object may be null.

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#)

© 2017 Microsoft