UrlBuilder.RebaseKind Enumeration

Episerver CMS 10

Syntax:

C#
[FlagsAttribute]
public enum RebaseKind

An enumeration for the different kinds of URL rebasing to perform.

Members

Member name Member summary
ToRootRelative The URL should be root relative (starting with a '/')
ToRelative The URL should be relative (not starting with '/')
IgnoreRootRelative If the path is already root-relative, do nothing.
NoLeadingDotDot If enabled together with ToRelative it will cause root-relative paths to be generated when a leading "../" should otherwise have been generated.
Default The default rebasing to use, which is ToRelative
GetOriginalType Gets the Type of the current object, ensuring that the eventual type that could be generated by a proxy interceptor is ignored.