PostConfigureAllExceptionDescriptorOptions Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Diagnostics
- Assemblies
- Cuemon.Extensions.AspNetCore.dll
PostConfigureAllExceptionDescriptorOptions(IServiceCollection, Action<IExceptionDescriptorOptions>)
Registers an action used to post-configure all instances of IExceptionDescriptorOptions in the services collection.
These are run after Configure<TOptions>(IServiceCollection, Action<TOptions>).
public static IServiceCollection PostConfigureAllExceptionDescriptorOptions(this IServiceCollection services, Action<IExceptionDescriptorOptions> setup)
Parameters
servicesIServiceCollectionThe IServiceCollection to extend.
setupAction<IExceptionDescriptorOptions>The IExceptionDescriptorOptions which need to be configured.
Returns
- IServiceCollection
A reference to
servicesso that additional configuration calls can be chained.