Class ClosesStreamAttributeExtensions

Namespace
Cratis.Chronicle.Events.Constraints
Assembly
Cratis.Chronicle.dll

Reads model-bound closing declarations from event types.

public static class ClosesStreamAttributeExtensions
Inheritance
ClosesStreamAttributeExtensions
Inherited Members

Methods

GetClosesStream(Type)

Get the closing declaration applied to an event type.

public static ClosesStreamAttribute? GetClosesStream(this Type eventType)

Parameters

eventType Type

The event type.

Returns

ClosesStreamAttribute

The declaration, or null if none is applied.