Class CollectionExtensions
Inheritance
System.Object
CollectionExtensions
Namespace: DotNetNuke.Entities.Urls
Assembly: DotNetNuke.dll
Syntax
public static class CollectionExtensions : object
Methods
| Improve this Doc View SourceCreateDictionaryFromString(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> |
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 |
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.
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 |