C# Class Sdl.Web.Tridion.CdApiLocalizationResolver

Localization Resolver that uses the CDaaS API to do the URL to Publication mapping.
This class is excluded in the Release_7.1 configuration.
Inheritance: Sdl.Web.Tridion.LocalizationResolver
Afficher le fichier Open project: sdl/dxa-web-application-dotnet

Méthodes publiques

Méthode Description
CdApiLocalizationResolver ( ) : System

Initializes a new CdApiLocalizationResolver instance.

GetLocalization ( string localizationId ) : Sdl.Web.Common.Configuration.Localization
ResolveLocalization ( Uri url ) : Sdl.Web.Common.Configuration.Localization

Resolves a matching Localization for a given URL.

Method Details

CdApiLocalizationResolver() public méthode

Initializes a new CdApiLocalizationResolver instance.
public CdApiLocalizationResolver ( ) : System
Résultat System

GetLocalization() public méthode

public GetLocalization ( string localizationId ) : Sdl.Web.Common.Configuration.Localization
localizationId string
Résultat Sdl.Web.Common.Configuration.Localization

ResolveLocalization() public méthode

Resolves a matching Localization for a given URL.
If no matching Localization can be found.
public ResolveLocalization ( Uri url ) : Sdl.Web.Common.Configuration.Localization
url System.Uri The URL to resolve.
Résultat Sdl.Web.Common.Configuration.Localization