Header menu logo BioFSharp

DynObj Module

Functions and values

Function or value Description

combine first second

Full Usage: combine first second

Parameters:
Returns: DynamicObj

Merges two DynamicObj (Warning: In case of dublicate property names the second member override the first)

first : DynamicObj
second : DynamicObj
Returns: DynamicObj

ofArray kv

Full Usage: ofArray kv

Parameters:
    kv : (string * 'a)[]

Returns: DynamicObj

New DynamicObj of an array of key value

kv : (string * 'a)[]
Returns: DynamicObj

ofDict dict

Full Usage: ofDict dict

Parameters:
Returns: DynamicObj

New DynamicObj of Dictionary

dict : Dictionary<string, obj>
Returns: DynamicObj

ofList kv

Full Usage: ofList kv

Parameters:
    kv : (string * 'a) list

Returns: DynamicObj

New DynamicObj of a list of key value

kv : (string * 'a) list
Returns: DynamicObj

ofSeq kv

Full Usage: ofSeq kv

Parameters:
    kv : (string * 'a) seq

Returns: DynamicObj

New DynamicObj of a sequence of key value

kv : (string * 'a) seq
Returns: DynamicObj

remove dyn propName

Full Usage: remove dyn propName

Parameters:
dyn : DynamicObj
propName : string

setValue dyn propName o

Full Usage: setValue dyn propName o

Parameters:
dyn : DynamicObj
propName : string
o : 'a

setValueOpt dyn propName _arg1

Full Usage: setValueOpt dyn propName _arg1

Parameters:
    dyn : DynamicObj
    propName : string
    _arg1 : 'a option

dyn : DynamicObj
propName : string
_arg1 : 'a option

setValueOptBy dyn propName f _arg1

Full Usage: setValueOptBy dyn propName f _arg1

Parameters:
    dyn : DynamicObj
    propName : string
    f : 'a -> 'b
    _arg1 : 'a option

dyn : DynamicObj
propName : string
f : 'a -> 'b
_arg1 : 'a option

tryGetValue dyn name

Full Usage: tryGetValue dyn name

Parameters:
Returns: obj option
dyn : DynamicObj
name : GetMemberBinder
Returns: obj option

Type something to start searching.