Path: redb-route/redb.Route/Abstractions/IRouteResourceResolver.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route/Abstractions/IRouteResourceResolver.cs ---- namespace redb.Route.Abstractions; /// /// Resolves a resource reference (a schema file, an XSLT stylesheet) to an absolute path. /// Registered as a context service (); hosts that unpack /// resources elsewhere (a Tsak package root) register their own instance with the package root /// as the search base. When none is registered, components fall back to /// , whose last probe is the current working /// directory — today's behaviour. /// public interface IRouteResourceResolver { /// Returns an absolute path to an existing file for the reference, or null when not found. string? Resolve(string reference); /// Where looked, for error messages. Defaults to the reference itself. string DescribeSearch(string reference) => reference; }