C# 클래스 Sage.ResourceManagement.UrlResolver

Implements a generic URL resolver for use with XML and XSL documents, and that any custom resolvers can be registered with.
상속: System.Xml.XmlUrlResolver
파일 보기 프로젝트 열기: igorfrance/sage 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
DiscoverUrlResolvers ( ) : void
GetResolver ( string scheme ) : IUrlResolver
OnAssembliesUpdated ( object sender, EventArgs arg ) : void
UrlResolver ( ) : System

메소드 상세

GetEntity() 공개 메소드

public GetEntity ( Uri uri, string role, Type returnObject ) : object
uri System.Uri
role string
returnObject System.Type
리턴 object

GetScheme() 공개 정적인 메소드

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

RegisterResolver() 공개 메소드

Registers the resolver.
public RegisterResolver ( string scheme, IUrlResolver resolver ) : void
scheme string The scheme.
resolver IUrlResolver The resolver.
리턴 void

UrlResolver() 공개 메소드

Initializes a new instance of the UrlResolver class.
public UrlResolver ( SageContext context ) : System
context SageContext The context.
리턴 System