Table of Contents

Class RedactionEventContent

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

Represents the content of a redaction event.

public record RedactionEventContent : IEquatable<RedactionEventContent>
Inheritance
RedactionEventContent
Implements
Inherited Members

Constructors

RedactionEventContent(RedactionReason, EventTypeId, DateTimeOffset, CorrelationId, IEnumerable<Causation>, IEnumerable<IdentityId>)

Represents the content of a redaction event.

public RedactionEventContent(RedactionReason Reason, EventTypeId OriginalEventType, DateTimeOffset Occurred, CorrelationId CorrelationId, IEnumerable<Causation> Causation, IEnumerable<IdentityId> CausedBy)

Parameters

Reason RedactionReason

The reason for redaction.

OriginalEventType EventTypeId

The original type the redaction is for.

Occurred DateTimeOffset

The time the redaction occurred.

CorrelationId CorrelationId

The unique identifier used to correlation.

Causation IEnumerable<Causation>

A collection of Causation for what caused the redaction.

CausedBy IEnumerable<IdentityId>

Who or what caused the event.

Properties

Causation

A collection of Causation for what caused the redaction.

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

Property Value

IEnumerable<Causation>

CausedBy

Who or what caused the event.

public IEnumerable<IdentityId> CausedBy { get; init; }

Property Value

IEnumerable<IdentityId>

CorrelationId

The unique identifier used to correlation.

public CorrelationId CorrelationId { get; init; }

Property Value

CorrelationId

Occurred

The time the redaction occurred.

public DateTimeOffset Occurred { get; init; }

Property Value

DateTimeOffset

OriginalEventType

The original type the redaction is for.

public EventTypeId OriginalEventType { get; init; }

Property Value

EventTypeId

Reason

The reason for redaction.

public RedactionReason Reason { get; init; }

Property Value

RedactionReason