C# Класс 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.
Наследование: Sdl.Web.Tridion.LocalizationResolver
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CdApiLocalizationResolver() публичный Метод

Initializes a new CdApiLocalizationResolver instance.
public CdApiLocalizationResolver ( ) : System
Результат System

GetLocalization() публичный Метод

public GetLocalization ( string localizationId ) : Sdl.Web.Common.Configuration.Localization
localizationId string
Результат Sdl.Web.Common.Configuration.Localization

ResolveLocalization() публичный Метод

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.
Результат Sdl.Web.Common.Configuration.Localization