Method RegisterValueHandler
RegisterValueHandler<T>(RouterActionHandlerCallback<T>)
Register an type handling association to converting it to an HttpResponse object.
public void RegisterValueHandler<T>(RouterActionHandlerCallback<T> actionHandler) where T : notnull
Parameters
actionHandler
RouterActionHandlerCallback<T>The function that receives an object of the
T
and returns an HttpResponse response from the informed object.
Type Parameters
T