| CMSDocumentRouteConstraint Class |
Namespace: CMS.URLRewritingEngine
public class CMSDocumentRouteConstraint : BaseDocumentConstraint, IRouteConstraint
The CMSDocumentRouteConstraint type exposes the following members.
| Name | Description | |
|---|---|---|
| CMSDocumentRouteConstraint |
Constructor
|
| Name | Description | |
|---|---|---|
| mAliasPath |
Alias path for the current handler
(Inherited from BaseDocumentConstraint.) | |
| mCulture |
Culture for the current handler
(Inherited from BaseDocumentConstraint.) | |
| mNodeId |
Node ID for the current handler
(Inherited from BaseDocumentConstraint.) | |
| mPageInfoSource |
Page info source
(Inherited from BaseDocumentConstraint.) | |
| mSiteName |
Site name for the current handler.
(Inherited from BaseDocumentConstraint.) | |
| mUrlPath |
Url path
(Inherited from BaseDocumentConstraint.) |
| Name | Description | |
|---|---|---|
| SwitchToRouteCulture |
If true (default), the routing behaves the same way as URL path = switches the current culture to the route culture
(Inherited from BaseDocumentConstraint.) |
| Name | Description | |
|---|---|---|
| CheckCulture |
Validates the culture of the request against the constraint
(Inherited from BaseDocumentConstraint.) | |
| CheckSite |
Validates current site against the constraint
(Inherited from BaseDocumentConstraint.) | |
| GetPageInfo |
Gets the page info with the correct PageResult object for the given url.
(Inherited from BaseDocumentConstraint.) | |
| Match |
Returns true if the route matches the context.
| |
| PreProcess |
Preprocesses the constraint, matches the site name and culture, and attempts to send output from cache
(Inherited from BaseDocumentConstraint.) |