Class ParameterResolver

Assembly: redb.Route.Controllers.dll

Resolves method parameters from based on binding attributes.
Handles JSON deserialization for [FromBody], primitive conversion for others.

public static class ParameterResolver

Inheritance

Object→ParameterResolver

Methods

ResolveParameters(MethodInfo, IExchange, IReadOnlyDictionary<string, string>)

Resolves all parameters for a controller method from the exchange and route params.

public static object?[] ResolveParameters(MethodInfo method, IExchange exchange, IReadOnlyDictionary<string, string> routeParams)