Table of Contents

Class CompensationForAttribute

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

Attribute used to mark an event type as a compensation for another event type. Useful in systems that require explicit compensation records, such as ledger systems.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public abstract class CompensationForAttribute : Attribute
Inheritance
CompensationForAttribute
Derived
Inherited Members

Properties

CompensatedEventType

Gets the Type of the event that this event compensates for.

public abstract Type CompensatedEventType { get; }

Property Value

Type