Interface SimpleUrlResolver
API for simple URI resolver classes that try a single resolution strategy, e.g. a "string match and replace" strategy.
Namespace: net.xmlcatalog
Assembly: Algenta.Colectica.Model.dll
Syntax
public interface SimpleUrlResolver
Methods
ResolveUri(Uri, string)
Resolves a URI, if possible, to a locally controlled or trusted URI.
Declaration
Uri ResolveUri(Uri baseUri, string relativeUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | baseUri | Base URI for relative URIs |
string | relativeUri | An absolute or relative URI |
Returns
Type | Description |
---|---|
Uri | A resolved URI, or null if the resolver can't match the parameters |