Class EventTypeGenerationForAttribute
- Namespace
- Cratis.Chronicle.Events
- Assembly
- Cratis.Chronicle.dll
Attribute used to mark a type as representing a previous generation of another event type.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public abstract class EventTypeGenerationForAttribute : Attribute
- Inheritance
-
EventTypeGenerationForAttribute
- Derived
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of EventTypeGenerationForAttribute.
Constructors
EventTypeGenerationForAttribute(uint)
Attribute used to mark a type as representing a previous generation of another event type.
protected EventTypeGenerationForAttribute(uint generation)
Parameters
generationuintThe generation this type represents.
Remarks
Initializes a new instance of EventTypeGenerationForAttribute.
Properties
EventTypeClrType
Gets the Type of the event type this is a generation for.
public abstract Type EventTypeClrType { get; }
Property Value
Generation
Gets the EventTypeGeneration this type represents.
public EventTypeGeneration Generation { get; }