mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
387 B
15 lines
387 B
using System.Collections.Generic;
|
|
using Volo.Abp.DependencyInjection;
|
|
|
|
namespace Volo.Abp.BackgroundJobs
|
|
{
|
|
public class MyJob : BackgroundJob<MyJobArgs>, ISingletonDependency
|
|
{
|
|
public List<string> ExecutedValues { get; } = new List<string>();
|
|
|
|
public override void Execute(MyJobArgs args)
|
|
{
|
|
ExecutedValues.Add(args.Value);
|
|
}
|
|
}
|
|
} |