fsprojects/FSharpx.Collections


NameValueCollection

Namespace: FSharpx.Collections

Extensions for NameValueCollections.

Functions and values

Function or valueDescription
add name value x
Signature: name:string -> value:string -> x:NameValueCollection -> NameValueCollection

Adds an element to a copy of an existing NameValueCollection

addInPlace x (a, b)
Signature: x:NameValueCollection -> (a:string * b:string) -> unit

In-place add of a key-value pair to a

asDictionary x
Signature: x:NameValueCollection -> IDictionary<string,string []>

CompiledName: AsDictionary

asLookup this
Signature: this:NameValueCollection -> ILookup<string,string>

CompiledName: AsLookup

asReadonlyDictionary x
Signature: x:NameValueCollection -> IDictionary<string,string []>

CompiledName: AsReadonlyDictionary

concat a b
Signature: a:NameValueCollection -> b:NameValueCollection -> NameValueCollection

Returns a new with the concatenation of two s

CompiledName: Concat

ofSeq l
Signature: l:seq<string * string> -> NameValueCollection

Creates a from a list of key-value pairs

toArray a
Signature: a:NameValueCollection -> (string * string) []

Returns a as an array of key-value pairs. Note that keys may be duplicated.

CompiledName: ToArray

toList a
Signature: a:NameValueCollection -> (string * string) list

Returns a as a list of key-value pairs. Note that keys may be duplicated.

toLookup a
Signature: a:NameValueCollection -> ILookup<string,string>

CompiledName: ToLookup

toSeq a
Signature: a:NameValueCollection -> seq<string * string>

Returns a as a sequence of key-value pairs. Note that keys may be duplicated.

CompiledName: ToEnumerable

Fork me on GitHub