File tree Expand file tree Collapse file tree
docs/en/framework/infrastructure Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,9 +271,9 @@ If multiple applications share the same storage for background jobs and workers
271271Set ` ApplicationName ` property in ` AbpBackgroundJobWorkerOptions ` to your application's name:
272272
273273```` csharp
274- public override void PreConfigureServices (ServiceConfigurationContext context )
274+ public override void ConfigureServices (ServiceConfigurationContext context )
275275{
276- PreConfigure <AbpBackgroundJobWorkerOptions >(options =>
276+ Configure <AbpBackgroundJobWorkerOptions >(options =>
277277 {
278278 options .ApplicationName = context .Services .GetApplicationName ()! ;
279279 });
Original file line number Diff line number Diff line change @@ -152,9 +152,9 @@ If multiple applications share the same storage for background jobs and workers
152152Set ` ApplicationName ` property in ` AbpBackgroundJobWorkerOptions ` to your application's name:
153153
154154```` csharp
155- public override void PreConfigureServices (ServiceConfigurationContext context )
155+ public override void ConfigureServices (ServiceConfigurationContext context )
156156{
157- PreConfigure <AbpBackgroundJobWorkerOptions >(options =>
157+ Configure <AbpBackgroundJobWorkerOptions >(options =>
158158 {
159159 options .ApplicationName = context .Services .GetApplicationName ()! ;
160160 });
You can’t perform that action at this time.
0 commit comments