2 instantiations of UnsupportedContentTypeException
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\TextInputFormatter.cs (1)
45
var exception = new
UnsupportedContentTypeException
(message);
ModelBinding\Binders\BodyModelBinder.cs (1)
147
var exception = new
UnsupportedContentTypeException
(message);
5 references to UnsupportedContentTypeException
Microsoft.AspNetCore.Mvc.Core (5)
Formatters\TextInputFormatter.cs (1)
45
var
exception = new UnsupportedContentTypeException(message);
ModelBinding\Binders\BodyModelBinder.cs (1)
147
var
exception = new UnsupportedContentTypeException(message);
ModelBinding\UnsupportedContentTypeException.cs (1)
15
/// Creates a new instance of <see cref="
UnsupportedContentTypeException
"/> with the specified
ModelBinding\UnsupportedContentTypeFilter.cs (2)
12
/// A filter that scans for <see cref="
UnsupportedContentTypeException
"/> in the
49
if (error.Exception is
UnsupportedContentTypeException
)