Browse Source

Merge pull request #25299 from abpframework/auto-merge/rel-10-2/4512

Merge branch rel-10.3 with rel-10.2
pull/25300/head
Volosoft Agent 5 months ago
committed by GitHub
parent
commit
bc1196f424
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:
````csharp
public override void PreConfigureServices(ServiceConfigurationContext context)
public override void ConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<AbpBackgroundJobWorkerOptions>(options =>
Configure<AbpBackgroundJobWorkerOptions>(options =>
{
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:
````csharp
public override void PreConfigureServices(ServiceConfigurationContext context)
public override void ConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<AbpBackgroundJobWorkerOptions>(options =>
Configure<AbpBackgroundJobWorkerOptions>(options =>
{
options.ApplicationName = context.Services.GetApplicationName()!;
});

Loading…
Cancel
Save