Class HttpExceptionDescriptorResponseFormatterExtensions
- Namespace
- Cuemon.Extensions.AspNetCore.Http
- Assembly
- Cuemon.Extensions.AspNetCore.dll
Extension methods for the IHttpExceptionDescriptorResponseFormatter interface.
public static class HttpExceptionDescriptorResponseFormatterExtensions
- Inheritance
-
HttpExceptionDescriptorResponseFormatterExtensions
Methods
SelectExceptionDescriptorHandlers(IEnumerable<IHttpExceptionDescriptorResponseFormatter>)
Projects each element of ExceptionDescriptorHandlers from the specified formatters
into one sequence.
public static IEnumerable<HttpExceptionDescriptorResponseHandler> SelectExceptionDescriptorHandlers(this IEnumerable<IHttpExceptionDescriptorResponseFormatter> formatters)
Parameters
formatters
IEnumerable<IHttpExceptionDescriptorResponseFormatter>The sequence of IHttpExceptionDescriptorResponseFormatter to extend.
Returns
- IEnumerable<HttpExceptionDescriptorResponseHandler>
A sequence of HttpExceptionDescriptorResponseHandler from the specified
formatters
.
Exceptions
- ArgumentNullException
formatters
cannot be null.