Interface ISnapshotEnvelope<TKey>
Defines the contract for a snapshot envelope that contains aggregate state.
public interface ISnapshotEnvelope<TKey>
Type Parameters
TKeyThe type of the aggregate identifier.
- Extension Methods
Properties
AggregateId
Gets the identifier of the aggregate this snapshot belongs to.
TKey AggregateId { get; init; }
Property Value
- TKey
The identifier of the aggregate this snapshot belongs to.
ApplicationState
Gets the serialized application state data.
string ApplicationState { get; init; }
Property Value
- string
The serialized application state data.
SnapshotMetadata
Gets the metadata associated with this snapshot.
string SnapshotMetadata { get; init; }
Property Value
- string
The metadata associated with this snapshot.