Class FromEventSourceAttribute<TSource>

Namespace
Cratis.Chronicle.EventSources
Assembly
Cratis.Chronicle.dll

Filters a reactor or reducer to events from a declared event source and stream.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
public sealed class FromEventSourceAttribute<TSource> : Attribute where TSource : IEventSource

Type Parameters

TSource

The event source definition that owns the stream.

Inheritance
FromEventSourceAttribute<TSource>
Inherited Members
Extension Methods

Constructors

FromEventSourceAttribute(string)

Filters a reactor or reducer to events from a declared event source and stream.

public FromEventSourceAttribute(string stream)

Parameters

stream string

The declared stream to observe.

Properties

Stream

Gets the declared event stream to observe.

public string Stream { get; }

Property Value

string