Method EndWhen(IRouteDefinition)

Assembly: redb.Route.dll

Closes the nearest enclosing When branch and returns its parent Choice (typed as IRouteDefinition).

public static IRouteDefinition EndWhen(this IRouteDefinition self)