Declaration
public object GetSimpleValue(
TElement element
)Summary
Called when Classify expects the element to be one of the following types:
byte,
sbyte,
short,
ushort,
int,
uint,
long,
ulong,
BigInteger,
decimal,
float,
double,
bool,
char,
string,
DateTime or an enum type. The implementation is free to return a value of any of
these types, and Classify will automatically use
ExactConvert to convert the value to the required
target type.
Remarks
This should decode values passed into
IClassifyFormat<TElement>.FormatSimpleValue(object), although it is acceptable if the type has
changed, as long as
ExactConvert will convert the decoded value back to the original value.