protected AbstractReceiveActor(IActorsFactory supervisorsFactory) { SupervisorFactory = supervisorsFactory; if (!string.IsNullOrEmpty(NextActorName)) { NextActor = SupervisorFactory.SelectActorOf(NextActorName); } }
public Repository(IEventStore eventStore, IActorsFactory supervisorsFactory) { _eventStore = eventStore; _database = new BlockingCollection <Aggregate>(); _eventsHandler = supervisorsFactory.SelectActorOf("TradeEventsHandlerActor"); }
public TradingSystemService(IActorsFactory factory) { _manager = factory.SelectActorOf("TradeManagerActor"); }
public TradeEventsHandlerActor(IActorsFactory factory) { _sqlBuilder = factory.SelectActorOf("BuildSqlQueryActor"); }