Ejemplo n.º 1
0
 /// <summary>
 /// Instantiates a new instance of <see cref="BusActor"/>.
 /// </summary>
 public BusActor(IAkkaEventPublisher <TAuthenticationToken> eventHandlerResolver, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper <TAuthenticationToken> authenticationTokenHelper)
 {
     EventHandlerResolver      = eventHandlerResolver;
     CorrelationIdHelper       = correlationIdHelper;
     AuthenticationTokenHelper = authenticationTokenHelper;
     Receive <IEvent <TAuthenticationToken> >(@event => ExecuteReceive(@event));
 }
Ejemplo n.º 2
0
 public BusActor(IAkkaEventPublisher <TAuthenticationToken> eventHandlerResolver)
 {
     EventHandlerResolver = eventHandlerResolver;
     Receive <IEvent <TAuthenticationToken> >(@event => ExecuteReceive(@event));
 }