Declaration
public static void DeserializeFileIntoObject<TElement>(
string filename,
object intoObject,
IClassifyFormat<TElement> format,
ClassifyOptions options = 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.
Generic type parameters
TElement |
Type of the serialized form (see format). |
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. |
IClassifyFormat<TElement> | format |
Implementation of a Classify format. |
ClassifyOptions | options |
Options. |