Yaaf.FSharp.Helper


NameValueCollection

Defined in Yaaf.FSharp.Helper.dll.

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 UNRESOLVED(NameValueCollection)

asDictionary x
Signature: x:NameValueCollection -> IDictionary<string,string []>
asLookup this
Signature: this:NameValueCollection -> ILookup<string,string>
asReadonlyDictionary x
Signature: x:NameValueCollection -> IDictionary<string,string []>
concat a b
Signature: a:NameValueCollection -> b:NameValueCollection -> NameValueCollection

Returns a new UNRESOLVED(NameValueCollection) with the concatenation of two UNRESOLVED(NameValueCollection)s

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

Creates a UNRESOLVED(NameValueCollection) from a list of key-value pairs

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

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

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

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

toLookup a
Signature: a:NameValueCollection -> ILookup<string,string>
toSeq a
Signature: a:NameValueCollection -> seq<string * string>

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

Fork me on GitHub