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 TradeManagerActor(IActorsFactory factory, IRepository repository) : base(factory) { _repository = repository; }
public TradeCommandsHandlerActor(IActorsFactory factory, ITradingSystemService tradingSystemService) { _tradingSystemService = tradingSystemService; }
public TradingSystemService(IActorsFactory factory) { _manager = factory.SelectActorOf("TradeManagerActor"); }
public ExecuteSqlQueryActor(IActorsFactory supervisorsFactory) : base(supervisorsFactory) { }
public TradeEventsHandlerActor(IActorsFactory factory) { _sqlBuilder = factory.SelectActorOf("BuildSqlQueryActor"); }
public BuildSqlQueryActor(IActorsFactory supervisorsFactory) : base(supervisorsFactory) { }