November Happy Hour will be moved to Thursday December 5th.

Class LanguagePreferenceListExtensions

Implements a list with language codes and handles some special semantics with language strings

Inheritance
System.Object
LanguagePreferenceListExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Globalization
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public static class LanguagePreferenceListExtensions

Methods

ConditionalAddCookie(LanguagePreferenceList, HttpCookie)

Conditionally adds the language from the given cookie.

Declaration
[Obsolete("Add cookie value through ConditionalAdd instead")]
public static void ConditionalAddCookie(this LanguagePreferenceList languagePreferenceList, HttpCookie cookie)
Parameters
Type Name Description
LanguagePreferenceList languagePreferenceList
System.Web.HttpCookie cookie
Remarks

Any quality indicator will be removed before checking if the language already exists.