Method OfType(IRouteDefinition, Type)

Assembly: redb.Route.dll

Non-generic OfType: opens the same guarded section as
OfType<T>() for a type known only at load time — following steps run only for
matching bodies, exactly like the generic form. Cold path: the generic method is closed by
reflection once, while the route is being built.

public static IRouteDefinition OfType(this IRouteDefinition self, Type bodyType)