示例#1
0
 public GetAllJobs(JobsActorProvider provider, ILogger <GetAllJobs> logger)
 {
     this.Logger    = logger;
     this.JobsActor = provider.Get();
 }
示例#2
0
        public static IActorRef CreateInstance(ActorSystem actorSystem, JobsActorProvider provider)
        {
            var jobsActor = provider.Get();

            return(actorSystem.ActorOf(BackLogsActor.Props(jobsActor), "backLogs"));
        }