コード例 #1
0
        protected AbstractReceiveActor(IActorsFactory supervisorsFactory)
        {
            SupervisorFactory = supervisorsFactory;

            if (!string.IsNullOrEmpty(NextActorName))
            {
                NextActor = SupervisorFactory.SelectActorOf(NextActorName);
            }
        }
コード例 #2
0
 public Repository(IEventStore eventStore, IActorsFactory supervisorsFactory)
 {
     _eventStore    = eventStore;
     _database      = new BlockingCollection <Aggregate>();
     _eventsHandler = supervisorsFactory.SelectActorOf("TradeEventsHandlerActor");
 }
コード例 #3
0
 public TradingSystemService(IActorsFactory factory)
 {
     _manager = factory.SelectActorOf("TradeManagerActor");
 }
コード例 #4
0
 public TradeEventsHandlerActor(IActorsFactory factory)
 {
     _sqlBuilder = factory.SelectActorOf("BuildSqlQueryActor");
 }