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