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