Show / Hide Table of Contents

Class MyAsyncJob

Inheritance
object
AsyncBackgroundJob<MyAsyncJobArgs>
MyAsyncJob
Implements
IAsyncBackgroundJob<MyAsyncJobArgs>
ISingletonDependency
Inherited Members
AsyncBackgroundJob<MyAsyncJobArgs>.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BackgroundJobs
Assembly: Volo.Abp.BackgroundJobs.Tests.dll
Syntax
public class MyAsyncJob : AsyncBackgroundJob<MyAsyncJobArgs>, IAsyncBackgroundJob<MyAsyncJobArgs>, ISingletonDependency

Constructors

MyAsyncJob(ICurrentTenant)

Declaration
public MyAsyncJob(ICurrentTenant currentTenant)
Parameters
Type Name Description
ICurrentTenant currentTenant

Properties

ExecutedValues

Declaration
public List<string> ExecutedValues { get; }
Property Value
Type Description
System.Collections.Generic.List<T><string>

TenantId

Declaration
public Guid? TenantId { get; set; }
Property Value
Type Description
System.Guid?

Methods

ExecuteAsync(MyAsyncJobArgs)

Declaration
public override Task ExecuteAsync(MyAsyncJobArgs args)
Parameters
Type Name Description
MyAsyncJobArgs args
Returns
Type Description
System.Threading.Tasks.Task
Overrides
Volo.Abp.BackgroundJobs.AsyncBackgroundJob<Volo.Abp.BackgroundJobs.MyAsyncJobArgs>.ExecuteAsync(Volo.Abp.BackgroundJobs.MyAsyncJobArgs)

Implements

IAsyncBackgroundJob<TArgs>
ISingletonDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft