Class EventTypeGenerationReferencesNonEventType
- Namespace
- Cratis.Chronicle.Events
- Assembly
- Cratis.Chronicle.dll
The exception that is thrown when a type marked with EventTypeGenerationForAttribute references a type that is not itself marked with EventTypeAttribute.
public class EventTypeGenerationReferencesNonEventType : Exception, ISerializable
- Inheritance
-
EventTypeGenerationReferencesNonEventType
- Implements
- Inherited Members
- Extension Methods
Constructors
EventTypeGenerationReferencesNonEventType(Type, Type)
The exception that is thrown when a type marked with EventTypeGenerationForAttribute references a type that is not itself marked with EventTypeAttribute.
public EventTypeGenerationReferencesNonEventType(Type generationType, Type referencedType)
Parameters
generationTypeTypeThe type marked with EventTypeGenerationForAttribute.
referencedTypeTypeThe referenced type that is not an event type.