public AutostartActorInitializer(IActorSystemManager actorSystemManager, ILifetimeScope lifetimeScope) { _actorSystemManager = actorSystemManager; _autostartedActors = new List <IActorRef>(); new AutoFacDependencyResolver(lifetimeScope, lifetimeScope.Resolve <IActorSystemManager>().ActorSystem); }
public ActorProvider(IActorSystemManager actorSystemManager) { _actorSystemManager = actorSystemManager; }