Table of Contents

Adjust Method

Definition

Adjust(Action<TOptions>)

Adjusts the Options to your liking.

public HttpExceptionDescriptorResponseFormatter<TOptions> Adjust(Action<TOptions> setup)

Parameters

setup Action<TOptions>

The Action<T> which need to be configured.

Returns

HttpExceptionDescriptorResponseFormatter<TOptions>

A reference to this instance so that additional calls can be chained.

Exceptions

ArgumentException

setup could not be configured to a valid state.