Table of Contents

Class JobRegistration

Namespace
Integrations.Infrastructure.Jobs
Assembly
Integrations.Infrastructure.dll

Registers scheduled jobs.

public static class JobRegistration
Inheritance
JobRegistration
Inherited Members

Methods

AddScheduledJob<TJob>(IServiceCollection)

Registers a scheduled job and the hosted service that runs it.

public static IServiceCollection AddScheduledJob<TJob>(this IServiceCollection services) where TJob : class, IScheduledJob

Parameters

services IServiceCollection

Returns

IServiceCollection

Type Parameters

TJob