Method AddXmlRoutesFromContent(RouteContext, string, string?, XmlRouteLoaderOptions?)
Parses the XML text and registers its routes. Errors carry positions and are aggregated.
public static RouteContext AddXmlRoutesFromContent(this RouteContext context, string xml, string? sourceName = null, XmlRouteLoaderOptions? options = null)