• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class Redirection

Inheritance
System.Object
Redirection
Implements
IRedirection
IHydratable
Namespace: DotNetNuke.Services.Mobile
Assembly: DotNetNuke.dll
Syntax
public class Redirection : object, IRedirection, IHydratable

Properties

| Improve this Doc View Source

Enabled

Gets or sets a value indicating whether whether this redirection is available.

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Id

Gets or sets redirection's primary key.

Declaration
public int Id { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IncludeChildTabs

Gets or sets a value indicating whether this value will be available when SourceTabId have a specific value, in that way when this value is true, page will rediect to target when request source tab and all child tabs under source tab.

Declaration
public bool IncludeChildTabs { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

KeyID

Gets or sets iHydratable.KeyID.

Declaration
public int KeyID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MatchRules

Gets or sets when redirection type is RedirectionType.Other, should use this collection to match the request by capability info.

Declaration
public IList<IMatchRule> MatchRules { get; set; }
Property Value
Type Description
IList<IMatchRule>
| Improve this Doc View Source

Name

Gets or sets redirection name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PortalId

Gets or sets the portal Redirection is belong to.

Declaration
public int PortalId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SortOrder

Gets or sets redirection's piority.

Declaration
public int SortOrder { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SourceTabId

Gets or sets the redirection's match source tab. if this value is Null.NullInteger(-1) means should redirect when request the whole current portal; otherwise means this redirection will be available for the specific tab.

Declaration
public int SourceTabId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TargetType

Gets or sets redirection's target type, should be: Portal, Tab, Url.

Declaration
public TargetType TargetType { get; set; }
Property Value
Type Description
TargetType
| Improve this Doc View Source

TargetValue

Gets or sets the redirection's target value, this value will determine by TargetType as:

  • TargetType.Portal: this value should be a portal id.
  • TargetType.Tab: this value should be a tab id.
  • TargetType.Url: this value should be a valid url.
Declaration
public object TargetValue { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

Type

Gets or sets redirection Type: Mobile, Tablet, Both or Other.

Declaration
public RedirectionType Type { get; set; }
Property Value
Type Description
RedirectionType

Methods

| Improve this Doc View Source

Fill(System.Data.IDataReader)

Fill the object with data from database.

Declaration
public void Fill(System.Data.IDataReader dr)
Parameters
Type Name Description
System.Data.IDataReader dr

the data reader.

Implements

IRedirection
IHydratable

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS