diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-20 23:51:48 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-20 23:51:48 -0700 |
commit | 4b24b2730bfb5333eb13c6e6b79baac1dee49812 (patch) | |
tree | 13e094c16f92063c4ff955a4d09345465289e9a2 /src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs | |
parent | b117db5327ee30aae7d2ec8e9172dca85e933848 (diff) | |
download | DotNetOpenAuth-4b24b2730bfb5333eb13c6e6b79baac1dee49812.zip DotNetOpenAuth-4b24b2730bfb5333eb13c6e6b79baac1dee49812.tar.gz DotNetOpenAuth-4b24b2730bfb5333eb13c6e6b79baac1dee49812.tar.bz2 |
Fixes the rest of the build breaks in the solution, including DNOA.AspNet.Test
Diffstat (limited to 'src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs')
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs b/src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs index f441c07..a84fdcf 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs @@ -7,6 +7,7 @@ namespace DotNetOpenAuth.AspNet.Clients { using System; using System.Collections.Generic; + using System.Collections.Specialized; using System.Xml.Linq; /// <summary> @@ -25,8 +26,8 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <param name="elementName"> /// Name of the element. /// </param> - public static void AddDataIfNotEmpty( - this Dictionary<string, string> dictionary, XDocument document, string elementName) { + internal static void AddDataIfNotEmpty( + this NameValueCollection dictionary, XDocument document, string elementName) { var element = document.Root.Element(elementName); if (element != null) { dictionary.AddItemIfNotEmpty(elementName, element.Value); @@ -45,7 +46,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <param name="value"> /// The value. /// </param> - public static void AddItemIfNotEmpty(this IDictionary<string, string> dictionary, string key, string value) { + internal static void AddItemIfNotEmpty(this NameValueCollection dictionary, string key, string value) { if (key == null) { throw new ArgumentNullException("key"); } |