Interface IRedirection
Namespace: DotNetNuke.Services.Mobile
Assembly: DotNetNuke.dll
Syntax
public interface IRedirection
Properties
| Improve this Doc View SourceEnabled
Gets or sets a value indicating whether enabled the Redirection.
Declaration
bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Id
Gets primary ID.
Declaration
int Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
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
bool IncludeChildTabs { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MatchRules
Gets or sets request match rules.
Declaration
IList<IMatchRule> MatchRules { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<IMatchRule> |
Name
Gets or sets redirection name.
Declaration
string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PortalId
Gets or sets portal Id.
Declaration
int PortalId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SortOrder
Gets or sets redirection's Order.
Declaration
int SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SourceTabId
Gets or sets if redirect by visit the whole portal, this value should be -1; otherwise should be the exactly page id for redirection.
Declaration
int SourceTabId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
TargetType
Gets or sets redirection target type.
Declaration
TargetType TargetType { get; set; }
Property Value
| Type | Description |
|---|---|
| TargetType |
TargetValue
Gets or sets redirection target value, can a portal id, tab id or a specific url.
Declaration
object TargetValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Type
Gets or sets the redirection type: should be Mobile, Tablet, Both of mobile and tablet, and all other unknown devices. if this value is Other, should use MatchRules to match the special request need to redirect.
Declaration
RedirectionType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| RedirectionType |