Esempio n. 1
0
        public static JobBuilder AddWorkers(this JobBuilder jobBuilder, Action <WorkersBuilder> builder)
        {
            jobBuilder.AddDefaultScopeFactory();
            var workers = new WorkersBuilder(jobBuilder.Services);

            builder(workers);
            return(jobBuilder);
        }