Пример #1
0
 protected AkkaAggregateRoot(IUnitOfWork <TAuthenticationToken> unitOfWork, ILogger logger, IAkkaRepository <TAuthenticationToken> repository)
 {
     UnitOfWork = unitOfWork;
     Logger     = logger;
     Repository = repository;
     Changes    = new ReadOnlyCollection <IEvent <TAuthenticationToken> >(new List <IEvent <TAuthenticationToken> >());
 }
Пример #2
0
 protected AkkaAggregateRoot(IUnitOfWork <TAuthenticationToken> unitOfWork, ILogger logger, IAkkaRepository <TAuthenticationToken> repository, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper <TAuthenticationToken> authenticationTokenHelper)
 {
     UnitOfWork                = unitOfWork;
     Logger                    = logger;
     Repository                = repository;
     CorrelationIdHelper       = correlationIdHelper;
     AuthenticationTokenHelper = authenticationTokenHelper;
     Changes                   = new ReadOnlyCollection <IEvent <TAuthenticationToken> >(new List <IEvent <TAuthenticationToken> >());
 }