Class SelectedLanguageCriterion
Inheritance
System.Object
SelectedLanguageCriterion
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[VisitorGroupCriterion(Category = "Site Criteria", Description = "Inspects the language that the user is viewing a page in when using fallbacks", DisplayName = "Selected Language", LanguagePath = "/visitorgroupscriteriapack/selectedlanguagecriterion")]
public class SelectedLanguageCriterion : CriterionBase<SelectedLanguageModel>, ICriterion, IGeneratesAdministrativeInterface
Constructors
SelectedLanguageCriterion()
Declaration
public SelectedLanguageCriterion()
Methods
IsMatch(IPrincipal, HttpContext)
Declaration
public override bool IsMatch(IPrincipal principal, HttpContext httpContext)
Parameters
Type |
Name |
Description |
System.Security.Principal.IPrincipal |
principal |
|
Microsoft.AspNetCore.Http.HttpContext |
httpContext |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
EPiServer.Personalization.VisitorGroups.CriterionBase<EPiServer.VisitorGroupsCriteriaPack.SelectedLanguageModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)
Implements
Extension Methods