Class PortalAliasExtensions
Inheritance
System.Object
PortalAliasExtensions
Assembly: DotNetNuke.dll
Syntax
public static class PortalAliasExtensions : object
Methods
|
Improve this Doc
View Source
ContainsAlias(IEnumerable<PortalAliasInfo>, Int32, String)
Declaration
public static bool ContainsAlias(this IEnumerable<PortalAliasInfo> aliases, int portalId, string httpAlias)
Parameters
Type |
Name |
Description |
IEnumerable<PortalAliasInfo> |
aliases |
|
System.Int32 |
portalId |
|
System.String |
httpAlias |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ContainsSpecificSkins(IEnumerable<PortalAliasInfo>)
Declaration
public static bool ContainsSpecificSkins(this IEnumerable<PortalAliasInfo> aliases)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetAliasByPortalIdAndSettings(IEnumerable<PortalAliasInfo>, UrlAction)
Declaration
public static PortalAliasInfo GetAliasByPortalIdAndSettings(this IEnumerable<PortalAliasInfo> aliases, UrlAction result)
Parameters
Returns
|
Improve this Doc
View Source
GetAliasByPortalIdAndSettings(IEnumerable<PortalAliasInfo>, Int32, UrlAction, String, BrowserTypes)
Returns a ChosenPortalAlias object where the portalId, culture code and isMobile matches.
Declaration
public static PortalAliasInfo GetAliasByPortalIdAndSettings(this IEnumerable<PortalAliasInfo> aliases, int portalId, UrlAction result, string cultureCode, BrowserTypes browserType)
Parameters
Returns
Remarks
|
Improve this Doc
View Source
GetAliasByPortalIdAndSettings(IEnumerable<PortalAliasInfo>, Int32, UrlAction, String, FriendlyUrlSettings)
Returns the chosen portal alias for a specific portal Id and culture Code.
Declaration
public static PortalAliasInfo GetAliasByPortalIdAndSettings(this IEnumerable<PortalAliasInfo> aliases, int portalId, UrlAction result, string cultureCode, FriendlyUrlSettings settings)
Parameters
Returns
Remarks
|
Improve this Doc
View Source
GetAliasByPortalIdAndSettings(IEnumerable<PortalAliasInfo>, Int32, String, String, FriendlyUrlSettings)
Declaration
public static PortalAliasInfo GetAliasByPortalIdAndSettings(this IEnumerable<PortalAliasInfo> aliases, int portalId, string requestedAlias, string cultureCode, FriendlyUrlSettings settings)
Parameters
Returns
|
Improve this Doc
View Source
GetAliasesAndCulturesForPortalId(IEnumerable<PortalAliasInfo>, Int32)
Declaration
public static Dictionary<string, string> GetAliasesAndCulturesForPortalId(this IEnumerable<PortalAliasInfo> aliases, int portalId)
Parameters
Type |
Name |
Description |
IEnumerable<PortalAliasInfo> |
aliases |
|
System.Int32 |
portalId |
|
Returns
Type |
Description |
Dictionary<System.String, System.String> |
|
|
Improve this Doc
View Source
GetAliasesForPortalId(IEnumerable<PortalAliasInfo>, Int32)
Declaration
public static List<string> GetAliasesForPortalId(this IEnumerable<PortalAliasInfo> aliases, int portalId)
Parameters
Type |
Name |
Description |
IEnumerable<PortalAliasInfo> |
aliases |
|
System.Int32 |
portalId |
|
Returns
Type |
Description |
List<System.String> |
|
|
Improve this Doc
View Source
GetCultureByPortalIdAndAlias(IEnumerable<PortalAliasInfo>, Int32, String)
Declaration
public static string GetCultureByPortalIdAndAlias(this IEnumerable<PortalAliasInfo> aliases, int portalId, string alias)
Parameters
Type |
Name |
Description |
IEnumerable<PortalAliasInfo> |
aliases |
|
System.Int32 |
portalId |
|
System.String |
alias |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetSettingsByPortalIdAndAlias(IEnumerable<PortalAliasInfo>, Int32, String, out String, out BrowserTypes, out String)
Declaration
public static void GetSettingsByPortalIdAndAlias(this IEnumerable<PortalAliasInfo> aliases, int portalId, string alias, out string culture, out BrowserTypes browserType, out string skin)
Parameters
Type |
Name |
Description |
IEnumerable<PortalAliasInfo> |
aliases |
|
System.Int32 |
portalId |
|
System.String |
alias |
|
System.String |
culture |
|
BrowserTypes |
browserType |
|
System.String |
skin |
|