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.
Cqrs.Akka.Domain.IAkkaAggregateRepository< TAuthenticationToken > Interface Template Reference

A AggregateRepository<TAuthenticationToken> that is safe to use within Akka.NET More...

+ Inheritance diagram for Cqrs.Akka.Domain.IAkkaAggregateRepository< TAuthenticationToken >:

Public Member Functions

void LoadAggregateHistory< TAggregateRoot > (TAggregateRoot aggregate, IList< IEvent< TAuthenticationToken >> events=null, bool throwExceptionOnNoEvents=true)
 If events is null, loads the events from IEventStore<TAuthenticationToken>, checks for duplicates and then rehydrates the aggregate with the events. More...
 
- Public Member Functions inherited from Cqrs.Domain.IAggregateRepository< TAuthenticationToken >
void Save< TAggregateRoot > (TAggregateRoot aggregate, int? expectedVersion=null)
 Save and persist the provided aggregate , optionally providing the version number the IAggregateRoot<TAuthenticationToken> is expected to be at. More...
 
TAggregateRoot Get< TAggregateRoot > (Guid aggregateId, IList< IEvent< TAuthenticationToken >> events=null)
 Retrieves an IAggregateRoot<TAuthenticationToken> of type TAggregateRoot . More...
 
TAggregateRoot GetToVersion< TAggregateRoot > (Guid aggregateId, int version, IList< IEvent< TAuthenticationToken >> events=null)
 Retrieves an IAggregateRoot<TAuthenticationToken> of type TAggregateRoot up to and including the provided version . More...
 
TAggregateRoot GetToDate< TAggregateRoot > (Guid aggregateId, DateTime versionedDate, IList< IEvent< TAuthenticationToken >> events=null)
 Retrieves an IAggregateRoot<TAuthenticationToken> of type TAggregateRoot up to and including the provided versionedDate . More...
 

Detailed Description

A AggregateRepository<TAuthenticationToken> that is safe to use within Akka.NET

Template Parameters
TAuthenticationTokenThe Type of authentication token.