IUrlResolutionService Interface

Definição

Define um serviço implementado por objetos para resolver URLs relativas com base nas informações contextuais.Defines a service implemented by objects to resolve relative URLs based on contextual information.

public interface class IUrlResolutionService
public interface IUrlResolutionService
type IUrlResolutionService = interface
Public Interface IUrlResolutionService
Derivado

Comentários

Essa interface define o serviço que é usado para resolver caminhos de URL.This interface defines the service that is used to resolve URL paths. A IUrlResolutionService interface é usada para resolver caminhos e caminhos relativos que contêm o operador ~.The IUrlResolutionService interface is used for resolving relative paths and paths that contain the ~ operator. Os controles de servidor que referenciam recursos podem definir os caminhos para os recursos por meio do operador ~, que representa a raiz do aplicativo atual.Server controls that reference resources can define the paths to the resources through the ~ operator, which represents the root of the current application. Um caminho que contém o operador ~ não funcionará se for passado para o navegador.A path containing the ~ operator will not work if passed to the browser. O controle de servidor deve converter o caminho para um caminho absoluto ou relativo antes de passá-lo para o navegador.The server control must convert the path to an absolute or relative path before passing it to the browser.

Control implementa essa interface.Control implements this interface. Um controle derivado de Control pode substituir essa implementação para fornecer resolução personalizada de URLs.A control that derives from Control could override this implementation to provide customized resolution of URLs.

Métodos

ResolveClientUrl(String)

Retorna uma URL resolvida adequada para uso pelo cliente.Returns a resolved URL that is suitable for use by the client.

Aplica-se a