Skip to content

ObserverManager<TIdentity, TObserver>

class

Namespace: Orleans.Utilities

Maintains a collection of observers.
public class ObserverManager<TIdentity, TObserver> : IEnumerable<TObserver>, IEnumerable
where TIdentity : notnull

Constructors

Properties

  • Count Gets the number of observers.
  • ExpirationDuration Gets or sets the expiration time span, after which observers are lazily removed.
  • GetDateTime Gets or sets the delegate used to get the date and time, for expiry.
  • Observers Gets a copy of the observers.

Methods