Class MultipleEventTypesWithSameIdFound

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

Exception that gets thrown when multiple event types with the same id is found.

public class MultipleEventTypesWithSameIdFound : Exception, ISerializable
Inheritance
MultipleEventTypesWithSameIdFound
Implements
Inherited Members
Extension Methods

Constructors

MultipleEventTypesWithSameIdFound(EventType, IEnumerable<Type>)

Initializes a new instance of MultipleEventTypesWithSameIdFound for a specific event type and generation.

public MultipleEventTypesWithSameIdFound(EventType eventType, IEnumerable<Type> types)

Parameters

eventType EventType

The EventType multiple CLR types represent.

types IEnumerable<Type>

The CLR types.

MultipleEventTypesWithSameIdFound(IEnumerable<Type>)

Initializes a new instance of MultipleEventTypesWithSameIdFound.

public MultipleEventTypesWithSameIdFound(IEnumerable<Type> types)

Parameters

types IEnumerable<Type>

The CLR types.

Properties

EventType

Gets the EventType multiple CLR types represent, if known.

public EventType? EventType { get; }

Property Value

EventType