Class RouteContextAdviceExtensions
AdviceWith entry points. Advice runs in the window between
and : the builders are configured once, the chosen definitions are
rewritten in place, and Start() compiles them as rewritten (it does not re-run Configure()).
public static class RouteContextAdviceExtensions
Inheritance
Methods
AdviceAllRoutes(RouteContext, Action<AdviceWithBuilder>)
Applies the same advice to every route of the context (e.g. a => a.MockEndpoints("kafka://*")).
public static RouteContext AdviceAllRoutes(this RouteContext context, Action<AdviceWithBuilder> advice)
AdviceRoute(RouteContext, string, Action<AdviceWithBuilder>)
Rewrites the route with id routeId (an explicit RouteId("..."), or the
public static RouteContext AdviceRoute(this RouteContext context, string routeId, Action<AdviceWithBuilder> advice)