| SiteCultureConstraint Class |
Namespace: Kentico.Content.Web.Mvc
public class SiteCultureConstraint : BaseRouteConstraint
The SiteCultureConstraint type exposes the following members.
| Name | Description | |
|---|---|---|
| SiteCultureConstraint |
| Name | Description | |
|---|---|---|
| HideLanguagePrefixForDefaultCulture |
Indicates if the language prefix for default culture should be hidden.
|
| Name | Description | |
|---|---|---|
| Match(IHttpContext, String, IDictionaryString, Object, Boolean) |
Determines whether the URL parameter contains an allowed culture code for this constraint.
(Overrides BaseRouteConstraintMatch(IHttpContext, String, IDictionaryString, Object, Boolean).) | |
| Match(HttpContextBase, Route, String, RouteValueDictionary, RouteDirection) |
Determines whether the URL parameter contains a valid value for this constraint.
(Inherited from BaseRouteConstraint.) |