Header menu logo DynamicObj

ReflectionUtils Module

Functions and values

Function or value Description

getStaticProperties o

Full Usage: getStaticProperties o

Parameters:
    o : obj

Returns: PropertyHelper array
o : obj
Returns: PropertyHelper array

removeProperty o propName

Full Usage: removeProperty o propName

Parameters:
    o : obj
    propName : string

Returns: bool
o : obj
propName : string
Returns: bool

tryGetPropertyValue o propName

Full Usage: tryGetPropertyValue o propName

Parameters:
    o : obj
    propName : string

Returns: obj option
o : obj
propName : string
Returns: obj option

tryGetPropertyValueAs o propName

Full Usage: tryGetPropertyValueAs o propName

Parameters:
    o : obj
    propName : string

Returns: 'a option

Gets property value as 'a option using reflection. Cast to 'a

o : obj
propName : string
Returns: 'a option

tryGetStaticPropertyInfo o propName

Full Usage: tryGetStaticPropertyInfo o propName

Parameters:
    o : obj
    propName : string

Returns: PropertyHelper option

Try to get the PropertyInfo by name using reflection

o : obj
propName : string
Returns: PropertyHelper option

trySetPropertyValue o propName value

Full Usage: trySetPropertyValue o propName value

Parameters:
    o : obj
    propName : string
    value : obj

Returns: bool
o : obj
propName : string
value : obj
Returns: bool

Type something to start searching.