Skip to content

ObserverManager<TIdentity, TObserver>.Notify(Action<TObserver>, Func<TObserver, bool>)

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

View source
public void ObserverManager<TIdentity, Notify(Action<TObserver> notification, Func<TObserver, bool>? predicate = null)
Notifies all observers which match the provided predicate.

Parameters

notificationAction<TObserver>
The notification delegate to call on each observer.
predicateFunc<TObserver, bool>
The predicate used to select observers to notify.