Browse Source
Merge pull request #2634 from abpframework/maliming/PostConfigure
Add PostConfigure & PostConfigureAll method to AbpModule.
pull/2637/head
Halil İbrahim Kalkan
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
12 additions and
0 deletions
-
framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModule.cs
|
|
|
@ -121,5 +121,17 @@ namespace Volo.Abp.Modularity |
|
|
|
{ |
|
|
|
ServiceConfigurationContext.Services.PreConfigure(configureOptions); |
|
|
|
} |
|
|
|
|
|
|
|
protected void PostConfigure<TOptions>(Action<TOptions> configureOptions) |
|
|
|
where TOptions : class |
|
|
|
{ |
|
|
|
ServiceConfigurationContext.Services.PostConfigure(configureOptions); |
|
|
|
} |
|
|
|
|
|
|
|
protected void PostConfigureAll<TOptions>(Action<TOptions> configureOptions) |
|
|
|
where TOptions : class |
|
|
|
{ |
|
|
|
ServiceConfigurationContext.Services.PostConfigureAll(configureOptions); |
|
|
|
} |
|
|
|
} |
|
|
|
} |