Method RegisterPrefixResolver(IRouteContext, string, Func<IExchange, string, object?>)

Assembly: redb.Route.dll

Registers a ${prefix.rest} resolver for the expressions of this context only (prefix
ends with a dot). It lives with the context: no unregistering when the context goes, and an unloaded module's
delegate stays nowhere. It is consulted before the process-wide resolvers of
.

public static IRouteContext RegisterPrefixResolver(this IRouteContext context, string prefix, Func<IExchange, string, object?> resolver)