- Declared in: RT.Serialization.IClassifyFormat<TElement>
- Interface method
- Abstract
Declaration
public IEnumerable<KeyValuePair<object, TElement>> GetDictionary(
TElement element
)
Summary
Decodes a dictionary.
Parameters
TElement | element |
The element to decode. |
Returns
A collection containing the key/value pairs in the dictionary. The keys in the returned collection are
expected to be convertible to the correct type using
ExactConvert.
Remarks
This should decode values passed into
IClassifyFormat<TElement>.FormatDictionary(IEnumerable<KeyValuePair<object, TElement>>), although it is acceptable if the type of
the keys has changed. For example, all keys may be returned as
string
, as long as
ExactConvert will convert that
string
back to the original value.