IActionResultTypeMapper Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a mapping from the return value of an action to an IActionResult for request processing.
public interface class IActionResultTypeMapper
public interface IActionResultTypeMapper
type IActionResultTypeMapper = interface
Public Interface IActionResultTypeMapper
Remarks
The default implementation of this service handles the conversion of ActionResult<TValue> to an IActionResult during request processing as well as the mapping of ActionResult<TValue> to TValue
during API Explorer processing.
Methods
Convert(Object, Type) |
Converts the result of an action to an IActionResult for response processing.
This method will be not be called when a method returns |
GetResultDataType(Type) |
Gets the result data type that corresponds to |