Browse Source

Update Background-Jobs document.

close #2306
pull/2318/head
maliming 7 years ago
parent
commit
34e02993e0
  1. 2
      docs/en/Background-Jobs.md
  2. 2
      docs/zh-Hans/Background-Jobs.md

2
docs/en/Background-Jobs.md

@ -40,7 +40,7 @@ using Volo.Abp.Emailing;
namespace MyProject namespace MyProject
{ {
public class EmailSendingJob : BackgroundJob<EmailSendingArgs> public class EmailSendingJob : BackgroundJob<EmailSendingArgs>, ITransientDependency
{ {
private readonly IEmailSender _emailSender; private readonly IEmailSender _emailSender;

2
docs/zh-Hans/Background-Jobs.md

@ -42,7 +42,7 @@ using Volo.Abp.Emailing;
namespace MyProject namespace MyProject
{ {
public class EmailSendingJob : BackgroundJob<EmailSendingArgs> public class EmailSendingJob : BackgroundJob<EmailSendingArgs>, ITransientDependency
{ {
private readonly IEmailSender _emailSender; private readonly IEmailSender _emailSender;

Loading…
Cancel
Save