System.UriBuilderExtensions.AsKeyValuePairs C# (CSharp) Метод

AsKeyValuePairs() приватный статический Метод

private static AsKeyValuePairs ( this collection ) : string>>.IEnumerable
collection this
Результат 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)));
		}