Table of Contents

Class AppendOperation

Namespace
Cratis.Chronicle.EventSequences.Operations
Assembly
Cratis.Chronicle.dll

Represents an operation to append an event to an event sequence.

public record AppendOperation : IEventSequenceOperation, IEquatable<AppendOperation>
Inheritance
AppendOperation
Implements
Inherited Members

Constructors

AppendOperation(object, Causation?, EventStreamType?, EventStreamId?, EventSourceType?)

Represents an operation to append an event to an event sequence.

public AppendOperation(object Event, Causation? Causation = null, EventStreamType? EventStreamType = null, EventStreamId? EventStreamId = null, EventSourceType? EventSourceType = null)

Parameters

Event object

The event to append.

Causation Causation

Optional The causation for the event.

EventStreamType EventStreamType

Optional The type of event stream.

EventStreamId EventStreamId

Optional The identifier for the event stream.

EventSourceType EventSourceType

Optional The type of event source.

Properties

Causation

Optional The causation for the event.

public Causation? Causation { get; init; }

Property Value

Causation

Event

The event to append.

public object Event { get; init; }

Property Value

object

EventSourceType

Optional The type of event source.

public EventSourceType? EventSourceType { get; init; }

Property Value

EventSourceType

EventStreamId

Optional The identifier for the event stream.

public EventStreamId? EventStreamId { get; init; }

Property Value

EventStreamId

EventStreamType

Optional The type of event stream.

public EventStreamType? EventStreamType { get; init; }

Property Value

EventStreamType