Browse Source

Merge pull request #25300 from abpframework/auto-merge/rel-10-3/4513

Merge branch dev with rel-10.3
pull/25306/head
Volosoft Agent 2 weeks ago
committed by GitHub
parent
commit
94eaf13eba
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/en/framework/infrastructure/background-jobs/index.md
  2. 4
      docs/en/framework/infrastructure/background-workers/index.md

4
docs/en/framework/infrastructure/background-jobs/index.md

@ -271,9 +271,9 @@ If multiple applications share the same storage for background jobs and workers
Set `ApplicationName` property in `AbpBackgroundJobWorkerOptions` to your application's name: Set `ApplicationName` property in `AbpBackgroundJobWorkerOptions` to your application's name:
````csharp ````csharp
public override void PreConfigureServices(ServiceConfigurationContext context) public override void ConfigureServices(ServiceConfigurationContext context)
{ {
PreConfigure<AbpBackgroundJobWorkerOptions>(options => Configure<AbpBackgroundJobWorkerOptions>(options =>
{ {
options.ApplicationName = context.Services.GetApplicationName()!; options.ApplicationName = context.Services.GetApplicationName()!;
}); });

4
docs/en/framework/infrastructure/background-workers/index.md

@ -212,9 +212,9 @@ If multiple applications share the same storage for background jobs and workers
Set `ApplicationName` property in `AbpBackgroundJobWorkerOptions` to your application's name: Set `ApplicationName` property in `AbpBackgroundJobWorkerOptions` to your application's name:
````csharp ````csharp
public override void PreConfigureServices(ServiceConfigurationContext context) public override void ConfigureServices(ServiceConfigurationContext context)
{ {
PreConfigure<AbpBackgroundJobWorkerOptions>(options => Configure<AbpBackgroundJobWorkerOptions>(options =>
{ {
options.ApplicationName = context.Services.GetApplicationName()!; options.ApplicationName = context.Services.GetApplicationName()!;
}); });

Loading…
Cancel
Save