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

Class CollectionExtensions

Inheritance
System.Object
CollectionExtensions
Namespace: DotNetNuke.Entities.Urls
Assembly: DotNetNuke.dll
Syntax
public static class CollectionExtensions : object

Methods

| Improve this Doc View Source

CreateDictionaryFromString(String, Char, Char)

Declaration
public static Dictionary<string, string> CreateDictionaryFromString(string delimitedString, char pairSeparator, char separator)
Parameters
Type Name Description
System.String delimitedString
System.Char pairSeparator
System.Char separator
Returns
Type Description
Dictionary<System.String, System.String>
| Improve this Doc View Source

LoadFromXmlFile(Dictionary<Int32, SharedList<ParameterRewriteAction>>, String, Int32, Boolean, ref List<String>)

Declaration
public static void LoadFromXmlFile(this Dictionary<int, SharedList<ParameterRewriteAction>> actions, string fileName, int portalId, bool portalSpecific, ref List<string> messages)
Parameters
Type Name Description
Dictionary<System.Int32, SharedList<ParameterRewriteAction>> actions
System.String fileName
System.Int32 portalId
System.Boolean portalSpecific
List<System.String> messages
| Improve this Doc View Source

LoadFromXmlFile(Dictionary<Int32, List<ParameterRedirectAction>>, String, Int32, Boolean, ref List<String>)

Returns all the redirect rules for the specified portal.

Declaration
public static void LoadFromXmlFile(this Dictionary<int, List<ParameterRedirectAction>> actions, string fileName, int portalId, bool portalSpecific, ref List<string> messages)
Parameters
Type Name Description
Dictionary<System.Int32, List<ParameterRedirectAction>> actions
System.String fileName
System.Int32 portalId
System.Boolean portalSpecific

If true, all rules belong to supplied portalId, even if not specified.

List<System.String> messages
Remarks

807 : change to allow specificatoin of assumption that all rules belong to the supplied portal.

| Improve this Doc View Source

LoadFromXmlFile(Dictionary<Int32, List<ParameterReplaceAction>>, String, Int32, Boolean, ref List<String>)

Declaration
public static void LoadFromXmlFile(this Dictionary<int, List<ParameterReplaceAction>> actions, string fileName, int portalId, bool portalSpecific, ref List<string> messages)
Parameters
Type Name Description
Dictionary<System.Int32, List<ParameterReplaceAction>> actions
System.String fileName
System.Int32 portalId
System.Boolean portalSpecific
List<System.String> messages
  • View Source
Back to top by the community, for the community... #DNNCMS