Table of Contents

PostConfigureAllExceptionDescriptorOptions Method

Definition

Namespace
Cuemon.Extensions.AspNetCore.Diagnostics
Assemblies
Cuemon.Extensions.AspNetCore.dll
Source
src/Cuemon.Extensions.AspNetCore/Diagnostics/ServiceCollectionExtensions.cs

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

services IServiceCollection

The IServiceCollection to extend.

setup Action<IExceptionDescriptorOptions>

The IExceptionDescriptorOptions which need to be configured.

Returns

IServiceCollection

A reference to services so that additional configuration calls can be chained.