Show / Hide Table of Contents

Class UrlRewriterBase

Inheritance
object
UrlRewriterBase
AdvancedUrlRewriter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Entities.Urls
Assembly: DotNetNuke.dll
Syntax
public abstract class UrlRewriterBase

Constructors

UrlRewriterBase()

Declaration
[Obsolete("Deprecated in DotNetNuke 10.0.2. Please use overload with IHostSettings. Scheduled removal in v12.0.0.")]
protected UrlRewriterBase()

UrlRewriterBase(IHostSettings, IPortalAliasService, IHostSettingsService, IPortalController)

Declaration
protected UrlRewriterBase(IHostSettings hostSettings, IPortalAliasService portalAliasService, IHostSettingsService hostSettingsService, IPortalController portalController)
Parameters
Type Name Description
IHostSettings hostSettings
IPortalAliasService portalAliasService
IHostSettingsService hostSettingsService
IPortalController portalController

Properties

HostSettings

Declaration
protected IHostSettings HostSettings { get; }
Property Value
Type Description
IHostSettings

HostSettingsService

Declaration
protected IHostSettingsService HostSettingsService { get; }
Property Value
Type Description
IHostSettingsService

PortalAliasService

Declaration
protected IPortalAliasService PortalAliasService { get; }
Property Value
Type Description
IPortalAliasService

PortalController

Declaration
protected IPortalController PortalController { get; }
Property Value
Type Description
IPortalController

Methods

AutoAddAlias(IHostSettings, IPortalAliasService, HttpContextBase)

Declaration
protected static void AutoAddAlias(IHostSettings hostSettings, IPortalAliasService portalAliasService, HttpContextBase context)
Parameters
Type Name Description
IHostSettings hostSettings
IPortalAliasService portalAliasService
HttpContextBase context

AutoAddAlias(HttpContext)

Declaration
protected static void AutoAddAlias(HttpContext context)
Parameters
Type Name Description
HttpContext context

AutoAddAlias(HttpContextBase)

Declaration
protected void AutoAddAlias(HttpContextBase context)
Parameters
Type Name Description
HttpContextBase context

AutoAddPortalAliasEnabled()

Declaration
protected bool AutoAddPortalAliasEnabled()
Returns
Type Description
bool

CanAutoAddPortalAlias()

Declaration
protected static bool CanAutoAddPortalAlias()
Returns
Type Description
bool

CanAutoAddPortalAlias(IHostSettingsService, IPortalController)

Declaration
protected static bool CanAutoAddPortalAlias(IHostSettingsService hostSettingsService, IPortalController portalController)
Parameters
Type Name Description
IHostSettingsService hostSettingsService
IPortalController portalController
Returns
Type Description
bool

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS