![]() |
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 IAggregateRoot<TAuthenticationToken> that is safe to use within Akka.NET More...
Inheritance diagram for Cqrs.Akka.Domain.AkkaAggregateRoot< TAuthenticationToken >:Public Member Functions | |
| 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... | |
Protected Member Functions | |
| AkkaAggregateRoot (IUnitOfWork< TAuthenticationToken > unitOfWork, ILogger logger, IAkkaAggregateRepository< TAuthenticationToken > repository, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper< TAuthenticationToken > authenticationTokenHelper) | |
| Instantiates a new instance of AkkaAggregateRoot<TAuthenticationToken> More... | |
| override void | PreStart () |
| User overridable callback. Is called when an Actor is started. Actors are automatically started asynchronously when created. Empty default implementation. More... | |
| virtual void | Execute< TCommand > (Action< TCommand > action, TCommand command) |
| Executes the provided action passing it the provided command , then calls AggregateRepository<TAuthenticationToken>.PublishEvent More... | |
| virtual void | ApplyChange (IEvent< TAuthenticationToken > @event) |
| Call the "Apply" method with a signature matching the provided event without using event replay to this instance. More... | |
Properties | |
| IUnitOfWork< TAuthenticationToken > | UnitOfWork [get, set] |
| Gets or sets the IUnitOfWork<TAuthenticationToken>. More... | |
| IAkkaAggregateRepository< TAuthenticationToken > | Repository [get, set] |
| Gets or sets the IAkkaAggregateRepository<TAuthenticationToken>. More... | |
| ILogger | Logger [get, set] |
| Gets or sets the ILogger. More... | |
| ICorrelationIdHelper | CorrelationIdHelper [get, set] |
| Gets or sets the ICorrelationIdHelper. More... | |
| IAuthenticationTokenHelper< TAuthenticationToken > | AuthenticationTokenHelper [get, set] |
| Gets or sets the IAuthenticationTokenHelper<TAuthenticationToken>. More... | |
| Guid | Id [get, protected set] |
| The identifier of this IAggregateRoot<TAuthenticationToken>. More... | |
| int | Version [get, protected set] |
| The current version of this IAggregateRoot<TAuthenticationToken>. 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... | |
An IAggregateRoot<TAuthenticationToken> that is safe to use within Akka.NET
| TAuthenticationToken | The Type of authentication token. |