Add PostConfigure & PostConfigureAll method to AbpModule.

pull/2634/head
maliming 5 years ago
parent 2f60a8470a
commit 4b1b051a02

@ -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