Saxon.Api

 

 

Saxon.Api

Delegate ResourceResolver


public delegate IResource ResourceResolver(ResourceRequest request)

The ResourceResolver is a generic callback interface for resolving URIs referring to resources.

Parameters:

request - Details of the request, including the requested URI and other relevant information

Returns:

An IResource representing the retrieved resource, or null if the URI is not recognized. Returning null generally results in the system attempting to resolve the URI using a fallback resolution method. The type of IResource returned must be consistent with the Nature of the resource request. In particular, if the request is for a plain text resource, then the returned IResource must be a TextResource.