Class Jobs
Represents an implementation of IJobs.
public class Jobs : IJobs
- Inheritance
-
Jobs
- Implements
- Inherited Members
- Extension Methods
Constructors
Jobs(IEventStore)
Represents an implementation of IJobs.
public Jobs(IEventStore eventStore)
Parameters
eventStoreIEventStoreThe IEventStore.
Methods
Delete(JobId)
Deletes the Job with the specified jobId.
public Task Delete(JobId jobId)
Parameters
jobIdJobIdThe job id.
Returns
- Task
Awaitable task.
GetJob(JobId)
Gets the Job with the specified jobId.
public Task<Job?> GetJob(JobId jobId)
Parameters
jobIdJobIdThe job id.
Returns
GetJobs()
Gets all the Jobs.
public Task<IEnumerable<Job>> GetJobs()
Returns
- Task<IEnumerable<Job>>
The jobs.
Resume(JobId)
Resumes the Job with the specified jobId.
public Task Resume(JobId jobId)
Parameters
jobIdJobIdThe job id.
Returns
- Task
Awaitable task.
Stop(JobId)
Stops the Job with the specified jobId.
public Task Stop(JobId jobId)
Parameters
jobIdJobIdThe job id.
Returns
- Task
Awaitable task.