UrlBuilder.RebaseKind Enumeration

Assembly: EPiServer (in EPiServer.dll) Version: (


public enum RebaseKind

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


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.