![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
bool Cqrs.Snapshots.ISnapshotStrategy< TAuthenticationToken >.ShouldMakeSnapShot | ( | IAggregateRoot< TAuthenticationToken > | aggregate, |
IEnumerable< IEvent< TAuthenticationToken >> | uncommittedChanges = null |
||
) |
Indicates if the provided aggregate should have a Snapshot made. This does NOT indicate if the provided aggregate can have a Snapshot made or not.
aggregate | The IAggregateRoot<TAuthenticationToken> to check. |
uncommittedChanges | A collection of uncommited changes to assess. If null the aggregate will be asked to provide them. |
Implemented in Cqrs.Snapshots.DefaultSnapshotStrategy< TAuthenticationToken >.