AddExceptionDescriptorOptions Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Diagnostics
- Assemblies
- Cuemon.Extensions.AspNetCore.dll
AddExceptionDescriptorOptions(IServiceCollection, Action<ExceptionDescriptorOptions>)
Registers the specified setup to configure ExceptionDescriptorOptions in the services collection.
public static IServiceCollection AddExceptionDescriptorOptions(this IServiceCollection services, Action<ExceptionDescriptorOptions> setup = null)
Parameters
servicesIServiceCollectionThe IServiceCollection to extend.
setupAction<ExceptionDescriptorOptions>The ExceptionDescriptorOptions that may be configured.
Returns
- IServiceCollection
A reference to
servicesso that additional configuration calls can be chained.