C# Class Sage.ResourceManagement.UrlResolver

Implements a generic URL resolver for use with XML and XSL documents, and that any custom resolvers can be registered with.
Inheritance: System.Xml.XmlUrlResolver
Afficher le fichier Open project: igorfrance/sage Class Usage Examples

Méthodes publiques

Méthode Description
GetEntity ( Uri uri, string role, Type returnObject ) : object
GetScheme ( string uriString ) : string

Gets the scheme name for the specified uriString.

RegisterResolver ( string scheme, IUrlResolver resolver ) : void

Registers the resolver.

UrlResolver ( SageContext context ) : System

Initializes a new instance of the UrlResolver class.

Private Methods

Méthode Description
DiscoverUrlResolvers ( ) : void
GetResolver ( string scheme ) : IUrlResolver
OnAssembliesUpdated ( object sender, EventArgs arg ) : void
UrlResolver ( ) : System

Method Details

GetEntity() public méthode

public GetEntity ( Uri uri, string role, Type returnObject ) : object
uri System.Uri
role string
returnObject System.Type
Résultat object

GetScheme() public static méthode

Gets the scheme name for the specified uriString.
public static GetScheme ( string uriString ) : string
uriString string The uri for which to get the scheme.
Résultat string

RegisterResolver() public méthode

Registers the resolver.
public RegisterResolver ( string scheme, IUrlResolver resolver ) : void
scheme string The scheme.
resolver IUrlResolver The resolver.
Résultat void

UrlResolver() public méthode

Initializes a new instance of the UrlResolver class.
public UrlResolver ( SageContext context ) : System
context SageContext The context.
Résultat System