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
EventSourceIdEventSourceIdThe EventSourceId to redact.
ReasonRedactionReasonThe reason for redaction.
EventTypesIEnumerable<EventTypeId>Any specific event types to redact. Can be empty.
CausationIEnumerable<Causation>Collection of Causation.
CausedByIdentityCausedBy 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; }