Custom value mapping
When mapping a value from an object's property it may be desirable to format the value prior to it being added to the dictionary. The following example shows a simple value mapper that will format a date time as dd-MMM-yyyy
Note
The propertyInfo
parameter passed into the delegate provides full information
about the property whose value will be added to the dictionary.
The value
parameter is the value of the property.