다음을 통해 공유


ObserverManager<TIdentity,TObserver>.Notify 메서드

정의

오버로드

Notify(Action<TObserver>, Func<TObserver,Boolean>)

제공된 predicate에 일치하는 모든 관찰자에게 알 수 있습니다.

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>

각 관찰자에 대해 호출할 알림 대리자입니다.

predicate
Func<TObserver,Boolean>

알릴 관찰자를 선택하는 데 사용되는 조건자입니다.

적용 대상

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

매개 변수

notification
Func<TObserver,Task>

각 관찰자에 대해 호출할 알림 대리자입니다.

predicate
Func<TObserver,Boolean>

알릴 관찰자를 선택하는 데 사용되는 조건자입니다.

반환

Task 수행된 작업을 나타내는 입니다.

적용 대상