Share via


Control.DelegateEvent<'Delegate> Class (F#)

Event implementations for an arbitrary type of delegate.

Namespace/Module Path: Microsoft.FSharp.Control

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

type DelegateEvent<'Delegate> =
 class
  new DelegateEvent : unit -> DelegateEvent<'Delegate>
  member this.Trigger : obj [] -> unit
  member this.Publish :  IDelegateEvent<'Delegate>
 end

Remarks

This type is named FSharpDelegateEvent 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 event object suitable for implementing an arbitrary type of delegate.

Instance Members

Member

Description

Publish

Publishes the event as a first class event value.

Trigger

Triggers the event 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

Reference

Microsoft.FSharp.Control Namespace (F#)