ObserverManager<TIdentity,TObserver>.Notify メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Notify(Action<TObserver>, Func<TObserver,Boolean>) |
指定 |
Notify(Func<TObserver,Task>, Func<TObserver,Boolean>) |
すべてのオブザーバーに通知します。 |
Notify(Action<TObserver>, Func<TObserver,Boolean>)
指定 predicate
された と一致するすべてのオブザーバーに通知します。
public void Notify (Action<TObserver> notification, Func<TObserver,bool> predicate = default);
member this.Notify : Action<'Observer> * Func<'Observer, bool> -> unit
Public Sub Notify (notification As Action(Of TObserver), Optional predicate As Func(Of TObserver, Boolean) = Nothing)
パラメーター
- notification
- Action<TObserver>
各オブザーバーで呼び出す通知デリゲート。
適用対象
Notify(Func<TObserver,Task>, Func<TObserver,Boolean>)
すべてのオブザーバーに通知します。
public System.Threading.Tasks.Task Notify (Func<TObserver,System.Threading.Tasks.Task> notification, Func<TObserver,bool> predicate = default);
member this.Notify : Func<'Observer, System.Threading.Tasks.Task> * Func<'Observer, bool> -> System.Threading.Tasks.Task
Public Function Notify (notification As Func(Of TObserver, Task), Optional predicate As Func(Of TObserver, Boolean) = Nothing) As Task
パラメーター
戻り値
Task実行された作業を表す 。