View Source Commanded.Aggregates.AggregateStateBuilder (Commanded v1.4.6)
Summary
Functions
Populate the aggregate's state from a snapshot, if present, and it's events.
Load events from the event store, in batches, to rebuild the aggregate state
Functions
Populate the aggregate's state from a snapshot, if present, and it's events.
Attempt to fetch a snapshot for the aggregate to use as its initial state. If the snapshot exists, fetch any subsequent events to rebuild its state. Otherwise start with the aggregate struct and stream all existing events for the aggregate from the event store to rebuild its state from those events.
Load events from the event store, in batches, to rebuild the aggregate state