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
parent
commit
c7059c7312
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModule.cs

12
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);
}
}
}
Loading…
Cancel
Save