| CMSDocumentRouteConstraint Class |
Namespace: CMS.URLRewritingEngine
public class CMSDocumentRouteConstraint : BaseDocumentConstraint, IRouteConstraint
The CMSDocumentRouteConstraint type exposes the following members.
| Name | Description | |
|---|---|---|
| CMSDocumentRouteConstraint |
Constructor
|
| Name | Description | |
|---|---|---|
| GetPageInfo |
Gets the page info with the correct PageResult object for the given url.
(Inherited from BaseDocumentConstraint.) | |
| CheckCulture |
Validates the culture of the request against the constraint
(Inherited from BaseDocumentConstraint.) | |
| CheckSite |
Validates current site against the constraint
(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.) |
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| 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.) |