Class XmlRouteLoader
Loads .route.xml documents into a through the existing
fluent DSL — no second engine. The whole document is parsed eagerly at
: beans first (so #name references resolve), then every route;
every error of the document — unknown elements, malformed expressions, unregistered URI
schemes — is collected in one pass and thrown as one with
file positions. Nothing is registered when the document has errors.
public sealed class XmlRouteLoader
Inheritance
Methods
Load(XDocument, string?)
Parses and registers every route of the document. See the class remarks.
public void Load(XDocument document, string? sourceName = null)
Constructors
XmlRouteLoader(RouteContext, XmlRouteLoaderOptions?)
Creates a loader for the given context.