![]() |
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.
|
|
protectedvirtual |
Calls ISnapshotStrategy<TAuthenticationToken>.ShouldMakeSnapShot on SnapshotStrategy If the IAggregateRoot<TAuthenticationToken> is snapshot-able SnapshotAggregateRoot<TAuthenticationToken,TSnapshot>.GetSnapshot is called The Snapshot.Version is calculated, finally ISnapshotStore.Save is called on SnapshotStore.
aggregate | The IAggregateRoot<TAuthenticationToken> to try and snapshot. |
uncommittedChanges | A collection of uncommited changes to assess. If null the aggregate will be asked to provide them. |