![]() |
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.
|
An ISnapshotStrategy<TAuthenticationToken> that takes a snapshot every 15 versions. More...
Inheritance diagram for Cqrs.Snapshots.DefaultSnapshotStrategy< TAuthenticationToken >:Public Member Functions | |
| virtual bool | IsSnapshotable (Type aggregateType) |
| Indicates if the aggregateType is able to be snapshotted by checking if the aggregateType directly inherits SnapshotAggregateRoot<TAuthenticationToken,TSnapshot> More... | |
| virtual bool | ShouldMakeSnapShot (IAggregateRoot< TAuthenticationToken > aggregate, IEnumerable< IEvent< TAuthenticationToken >> uncommittedChanges=null) |
| Checks IsSnapshotable and if it is, also checks if the calculated version number would be exactly dividable by GetSnapshotInterval. More... | |
Protected Member Functions | |
| virtual int | GetSnapshotInterval () |
| Returns the value of SnapshotInterval. More... | |
An ISnapshotStrategy<TAuthenticationToken> that takes a snapshot every 15 versions.
| TAuthenticationToken | The Type of the authentication token. |