Skip to content

ObserverManager<TIdentity, TObserver> Properties

Maintains a collection of observers.

Count

get
View source
public int ObserverManager<TIdentity, Count
Gets the number of observers.

ExpirationDuration

getset
View source
public TimeSpan ObserverManager<TIdentity, ExpirationDuration
Gets or sets the expiration time span, after which observers are lazily removed.

GetDateTime

getset
View source
public Func<DateTime> ObserverManager<TIdentity, GetDateTime
Gets or sets the delegate used to get the date and time, for expiry.

Observers

get
View source
public IReadOnlyDictionary<TIdentity, TObserver> ObserverManager<TIdentity, Observers
Gets a copy of the observers.