Class RedactEvents
Command for redacting events.
public record RedactEvents : IEquatable<RedactEvents>
- Inheritance
-
RedactEvents
- Implements
- Inherited Members
Constructors
RedactEvents(EventSourceId, RedactionReason, IEnumerable<EventTypeId>, IEnumerable<Causation>, Identity)
Command for redacting events.
public RedactEvents(EventSourceId EventSourceId, RedactionReason Reason, IEnumerable<EventTypeId> EventTypes, IEnumerable<Causation> Causation, Identity CausedBy)
Parameters
EventSourceId
EventSourceIdThe EventSourceId to redact.
Reason
RedactionReasonThe reason for redaction.
EventTypes
IEnumerable<EventTypeId>Any specific event types to redact. Can be empty.
Causation
IEnumerable<Causation>Collection of Causation.
CausedBy
IdentityCausedBy to identify the person, system or service that caused the event.
Properties
Causation
Collection of Causation.
public IEnumerable<Causation> Causation { get; init; }
Property Value
CausedBy
CausedBy to identify the person, system or service that caused the event.
public Identity CausedBy { get; init; }
Property Value
EventSourceId
The EventSourceId to redact.
public EventSourceId EventSourceId { get; init; }
Property Value
EventTypes
Any specific event types to redact. Can be empty.
public IEnumerable<EventTypeId> EventTypes { get; init; }
Property Value
Reason
The reason for redaction.
public RedactionReason Reason { get; init; }