System.UriBuilderExtensions.AsKeyValuePairs C# (CSharp) Method

AsKeyValuePairs() private static method

private static AsKeyValuePairs ( this collection ) : string>>.IEnumerable
collection this
return string>>.IEnumerable
		private static IEnumerable<KeyValuePair<string, string>> AsKeyValuePairs(this NameValueCollection collection)
		{
			return collection.AllKeys.Select(key => new KeyValuePair<string, string>(key, collection.Get(key)));
		}