Declaration
public static void DeserializeFileIntoObject(
string filename,
object intoObject,
ClassifyOptions options = null,
IClassifyFormat<XElement> format = null
)
Summary
Reconstructs an object from the specified file by applying the values to an existing instance of the desired
type. The type of object is inferred from the object passed in.
Parameters
string | filename |
Path and filename of the file to read from. |
object | intoObject |
Object to assign values to in order to reconstruct the original object. Also determines the type of object
expected. |
ClassifyOptions | options |
Options. |
IClassifyFormat<XElement> | format |
Implementation of a Classify format. See ClassifyXmlFormat for an example. |