Click or drag to resize
BaseDocumentConstraint Class
Base class for the document constraints
Inheritance Hierarchy

Namespace: CMS.URLRewritingEngine
Assembly: CMS.URLRewritingEngine (in CMS.URLRewritingEngine.dll) Version: 8.2.23
Syntax
C#
public abstract class BaseDocumentConstraint

The BaseDocumentConstraint type exposes the following members.

Constructors
  NameDescription
Public methodBaseDocumentConstraint
Constructor
Top
Methods
  NameDescription
Protected methodGetPageInfo
Gets the page info with the correct PageResult object for the given url.
Protected methodCheckCulture
Validates the culture of the request against the constraint
Protected methodCheckSite
Validates current site against the constraint
Protected methodStatic memberNotMatched
Handles the processed operations when the constraint is not matched
Protected methodPreProcess
Preprocesses the constraint, matches the site name and culture, and attempts to send output from cache
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldmAliasPath
Alias path for the current handler
Protected fieldmCulture
Culture for the current handler
Protected fieldmNodeId
Node ID for the current handler
Protected fieldmPageInfoSource
Page info source
Protected fieldmSiteName
Site name for the current handler.
Protected fieldmUrlPath
Url path
Top
Properties
  NameDescription
Public propertySwitchToRouteCulture
If true (default), the routing behaves the same way as URL path = switches the current culture to the route culture
Top
See Also