Method TryGetHandler
- Namespace
- MailFathom.Application.Jobs.Execution
- Assembly
- MailFathom.Application.dll
TryGetHandler(JobType, out IJobHandler?)
Finds the handler that runs one job type.
public bool TryGetHandler(JobType jobType, out IJobHandler? handler)
Parameters
jobTypeJobTypeThe type to dispatch.
handlerIJobHandlerThe handler for that type, when one is registered.