Table of Contents

Class RedactEvents

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

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 EventSourceId

The EventSourceId to redact.

Reason RedactionReason

The reason for redaction.

EventTypes IEnumerable<EventTypeId>

Any specific event types to redact. Can be empty.

Causation IEnumerable<Causation>

Collection of Causation.

CausedBy Identity

CausedBy to identify the person, system or service that caused the event.

Properties

Causation

Collection of Causation.

public IEnumerable<Causation> Causation { get; init; }

Property Value

IEnumerable<Causation>

CausedBy

CausedBy to identify the person, system or service that caused the event.

public Identity CausedBy { get; init; }

Property Value

Identity

EventSourceId

The EventSourceId to redact.

public EventSourceId EventSourceId { get; init; }

Property Value

EventSourceId

EventTypes

Any specific event types to redact. Can be empty.

public IEnumerable<EventTypeId> EventTypes { get; init; }

Property Value

IEnumerable<EventTypeId>

Reason

The reason for redaction.

public RedactionReason Reason { get; init; }

Property Value

RedactionReason