Class ExpressionPrefixResolvers
The prefix resolvers of one route context: ${prefix.rest} roots that the context's own code (a module
loaded for it) contributes. They live as a service of the context, so they go when the context is disposed and
keep no delegate of an unloaded module alive; an expression evaluated on an exchange of the context consults
them before the process-wide ones of . Register through
context.RegisterPrefixResolver(prefix, resolver).
public sealed class ExpressionPrefixResolvers
Inheritance
Methods
For(IRouteContext)
The resolvers of context, created on first use.
public static ExpressionPrefixResolvers For(IRouteContext context)
Register(string, Func<IExchange, string, object?>)
Registers resolver for prefix (ending with a dot, e.g. "order.");
public void Register(string prefix, Func<IExchange, string, object?> resolver)
Unregister(string)
Removes the resolver of prefix; true when there was one.
public bool Unregister(string prefix)