Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void DeserializeIntoObject<T>(XElement, T, ClassifyOptions, IClassifyFormat<XElement>)

Declaration

public static void DeserializeIntoObject<T>(
    XElement xml,
    T intoObject,
    ClassifyOptions options = null,
    IClassifyFormat<XElement> format = null
)

Summary

Reconstructs an object of the specified type from the specified serialized form by applying the values to an existing instance of the type.

Generic type parameters

T Type of object to reconstruct.

Parameters

XElementxml Serialized form to reconstruct object from.
TintoObject Object to assign values to in order to reconstruct the original object.
ClassifyOptionsoptions Options.
IClassifyFormat<XElement>format Implementation of a Classify format. See ClassifyXmlFormat for an example.