Interface IRouteResourceResolver
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
Methods
DescribeSearch(string)
Where looked, for error messages. Defaults to the reference itself.
string DescribeSearch(string reference)
Resolve(string)
Returns an absolute path to an existing file for the reference, or null when not found.
string? Resolve(string reference)