的 IEvent 的事件實作輸入。
命名空間/模組路徑: Microsoft.FSharp.Control
組件:FSharp.Core (在 FSharp.Core.dll 中)
type Event<'T> =
class
new Event : unit -> Event<'T>
member this.Trigger : 'T -> unit
member this.Publish : IEvent<'T>
end
備註
與事件模組中定義之事件搭配使用的函式。
這個型別是名為 FSharpEvent中 已編譯的組件。 如果從一個語言,F # 以外,或透過反映存取類型使用這個名稱。
建構函式
成員 |
說明 |
|---|---|
建立可預見的物件。 |
執行個體成員
成員 |
說明 |
|---|---|
將觀測發行為第一級值。 |
|
使用指定的參數觸發觀測。 |
平台
Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2
版本資訊
F# 執行階段
支援版本:2.0、4.0
Silverlight
支援版本:3