Table of Contents

Class SnapshotEnvelope<TKey>

Namespace
Excalibur.Dispatch.Delivery
Assembly
Excalibur.Dispatch.dll

Default implementation of a snapshot envelope that contains aggregate state.

[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.PublicProperties)]
public sealed class SnapshotEnvelope<TKey> : ISnapshotEnvelope<TKey>

Type Parameters

TKey

The type of the aggregate identifier.

Inheritance
SnapshotEnvelope<TKey>
Implements
Inherited Members
Extension Methods

Properties

AggregateId

Gets the identifier of the aggregate this snapshot belongs to.

public required TKey AggregateId { get; init; }

Property Value

TKey

The current AggregateId value.

ApplicationState

Gets the serialized application state data.

public required string ApplicationState { get; init; }

Property Value

string

The current ApplicationState value.

SnapshotMetadata

Gets the metadata associated with this snapshot.

public required string SnapshotMetadata { get; init; }

Property Value

string

The current SnapshotMetadata value.