using System; using System.Collections.Generic; using System.Threading.Tasks; using Volo.Abp.DependencyInjection; namespace Volo.Abp.BackgroundJobs { public class MyAsyncJob : AsyncBackgroundJob, ISingletonDependency { public List ExecutedValues { get; } = new List(); public override Task ExecuteAsync(MyAsyncJobArgs args) { ExecutedValues.Add(args.Value); return Task.CompletedTask; } } }