System.UriBuilderExtensions.AsKeyValuePairs C# (CSharp) Méthode

AsKeyValuePairs() private static méthode

private static AsKeyValuePairs ( this collection ) : string>>.IEnumerable
collection this
Résultat 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)));
		}