DynamicObj Type
Constructors
Constructor | Description |
|
|
Instance members
Instance member | Description | ||
|
|
||
Full Usage:
this.CopyDynamicPropertiesTo
Parameters:
'a
-
The target object to copy dynamic members to
?overWrite : bool
-
Whether existing properties on the target object will be overwritten
|
|
||
Full Usage:
this.GetProperties
Parameters:
bool
-
whether to include instance properties (= 'static' properties on the class)
Returns: KeyValuePair<string, obj> seq
|
|
||
Full Usage:
this.GetPropertyHelpers
Parameters:
bool
-
whether to include instance properties (= 'static' properties on the class)
Returns: PropertyHelper seq
|
|
||
Full Usage:
this.GetPropertyNames
Parameters:
bool
-
Returns: string seq
|
|||
Full Usage:
this.GetPropertyValue
Parameters:
string
-
the name of the property to get
Returns: obj
|
|
||
Full Usage:
this.Properties
|
|||
Full Usage:
this.RemoveProperty
Parameters:
string
-
the name of the property to remove
Returns: bool
|
|
||
Full Usage:
this.SetProperty
Parameters:
string
-
the name of the property to set
propertyValue : obj
-
the value of the property to set
|
|||
Full Usage:
this.TryGetDynamicPropertyHelper
Parameters:
string
-
The name of the property to get the PropertyHelper for
Returns: PropertyHelper option
|
|
||
Full Usage:
this.TryGetPropertyHelper
Parameters:
string
-
The name of the property to get the PropertyHelper for
Returns: PropertyHelper option
|
|
||
Full Usage:
this.TryGetPropertyValue
Parameters:
string
Returns: obj option
|
|||
Full Usage:
this.TryGetStaticPropertyHelper
Parameters:
string
-
The name of the property to get the PropertyHelper for
Returns: PropertyHelper option
|
|
||
Full Usage:
this.TryGetTypedPropertyValue
Parameters:
string
-
the name of the property to get
Returns: 'TPropertyValue option
|
This method is not Fable-compatible and can therefore not be used in code that will be transpiled.
|
Static members
Static member | Description |
Full Usage:
lookup ? name
Parameters:
'a
name : string
Returns: obj
|
|
Full Usage:
(?<-) (lookup, name, value)
Parameters:
'a
name : string
value : 'v
|
|
Full Usage:
DynamicObj.ofDict dynamicProperties
Parameters:
Dictionary<string, obj>
-
The dictionary with the dynamic properties
Returns: DynamicObj
|
|