Method | Description | |
---|---|---|
Initialise ( this node, ITypeDescriptorCollection entityFields ) : void |
Initialises a DynamicType object using details from a ITypeDescriptorCollection object.
|
|
SetValue ( this node, string fieldName, object value ) : void |
Sets the value for a specified field in a DynamicType object. If the field doesn't exist in the DynamicType object but the DynamicType object contains a "content" field, the field and its value is appended to the "content" field. |
public static Initialise ( this node, ITypeDescriptorCollection entityFields ) : void | ||
node | this | A DynamicType object to initialise. |
entityFields | ITypeDescriptorCollection | A ITypeDescriptorCollection object containing the details of the fields. |
return | void |
public static SetValue ( this node, string fieldName, object value ) : void | ||
node | this | A DynamicType object to update. |
fieldName | string | The name of the field to update. |
value | object | The value of the field. |
return | void |