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.AkkaAggregateRootProxy< TAuthenticationToken, TAggregateRoot > Class Template Reference

A remote proxy to an IAggregateRoot<TAuthenticationToken>. More...

+ Inheritance diagram for Cqrs.Akka.Domain.AkkaAggregateRootProxy< TAuthenticationToken, TAggregateRoot >:

Public Member Functions

virtual IEnumerable< IEvent< TAuthenticationToken > > GetUncommittedChanges ()
 Get all applied changes that haven't yet been committed. More...
 
virtual void MarkChangesAsCommitted ()
 Mark all applied changes as committed, increment Version and flush the internal collection of changes. More...
 
virtual void LoadFromHistory (IEnumerable< IEvent< TAuthenticationToken >> history)
 Apply all the events in history using event replay to this instance. More...
 

Properties

IActorRef ActorReference [get, set]
 Gets the IActorRef. More...
 
TAggregateRoot Aggregate [get, protected set]
 Gets the TAggregateRoot . More...
 
virtual Guid Id [get]
 The identifier of this IAggregateRoot<TAuthenticationToken>. More...
 
virtual int Version [get]
 The current version of this IAggregateRoot<TAuthenticationToken>. More...
 
- Properties inherited from Cqrs.Akka.Domain.IAkkaAggregateRootProxy< TAggregateRoot >
IActorRef ActorReference [get]
 Gets the IActorRef. More...
 
TAggregate Aggregate [get]
 Gets the TAggregate . More...
 
- Properties inherited from Cqrs.Domain.IAggregateRoot< TAuthenticationToken >
Guid Id [get]
 The identifier of this IAggregateRoot<TAuthenticationToken>. More...
 
int Version [get]
 The current version of this IAggregateRoot<TAuthenticationToken>. More...
 

Detailed Description

A remote proxy to an IAggregateRoot<TAuthenticationToken>.

Template Parameters
TAuthenticationTokenThe Type of authentication token.
TAggregateRootThe Type of IAggregateRoot<TAuthenticationToken>.