JournaledGrain<TGrainState,TEventBase>.RaiseEvents<TEvent> 方法

定义

作为原子序列引发多个事件。

protected virtual void RaiseEvents<TEvent> (System.Collections.Generic.IEnumerable<TEvent> events) where TEvent : TEventBase;
abstract member RaiseEvents : seq<#'EventBase> -> unit
override this.RaiseEvents : seq<#'EventBase> -> unit
Protected Overridable Sub RaiseEvents(Of TEvent As TEventBase) (events As IEnumerable(Of TEvent))

类型参数

TEvent

参数

events
IEnumerable<TEvent>

要引发的事件。

适用于