Table of Contents

Interface IEventSource

Namespace
LfrlAnvil.Reactive
Assembly
LfrlAnvil.Reactive.Core.dll

Represents a type-erased disposable event source that can be listened to.

public interface IEventSource : IEventStream, IDisposable
Inherited Members

Properties

HasSubscribers

Specifies whether or not this event source has any event subscribers.

bool HasSubscribers { get; }

Property Value

bool

Subscribers

Collection of currently attached event subscribers to this event source.

IReadOnlyCollection<IEventSubscriber> Subscribers { get; }

Property Value

IReadOnlyCollection<IEventSubscriber>