SaaS CMS has officially launched! Learn more now.

Interface IApprovalLanguageResolver

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Interface for approval language resolving.

Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IApprovalLanguageResolver

Methods

ResolveAsync(Uri)

This method resolvs an approval reference looking for a language.

Declaration
Task<CultureInfo> ResolveAsync(Uri reference)
Parameters
Type Name Description
System.Uri reference

Approval reference

Returns
Type Description
System.Threading.Tasks.Task<System.Globalization.CultureInfo>

The resolved language or InvariantCulture if no language can be found

Extension Methods