CMSMvcDocumentConstraint MembersKentico 8.0 API Reference
The CMSMvcDocumentConstraint type exposes the following members.
Constructors

  NameDescription
Public methodCMSMvcDocumentConstraint
Constructor.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodGetPageInfo
Gets the page info with the correct PageResult object for the given url.
(Inherited from BaseDocumentConstraint.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodCheckCulture
Validates the culture of the request against the constraint
(Inherited from BaseDocumentConstraint.)
Protected methodCheckSite
Validates current site against the constraint
(Inherited from BaseDocumentConstraint.)
Public methodMatch
Returns true if the route matches the context.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodPreProcess
Preprocesses the constraint, matches the site name and culture, and attempts to send output from cache
(Inherited from BaseDocumentConstraint.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
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.)
Back to Top
Fields

  NameDescription
Protected fieldmAliasPath
Alias path for the current handler
(Inherited from BaseDocumentConstraint.)
Protected fieldmCulture
Culture for the current handler
(Inherited from BaseDocumentConstraint.)
Protected fieldmNodeId
Node ID for the current handler
(Inherited from BaseDocumentConstraint.)
Protected fieldmPageInfoSource
Page info source
(Inherited from BaseDocumentConstraint.)
Protected fieldmSiteName
Site name for the current handler.
(Inherited from BaseDocumentConstraint.)
Protected fieldmUrlPath
Url path
(Inherited from BaseDocumentConstraint.)
Back to 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
(Inherited from BaseDocumentConstraint.)
Back to Top
See Also