Class CompensationForAttribute
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; }