Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: object DeserializeFile(Type, string, ClassifyOptions, IClassifyFormat<JsonValue>)

Declaration

public static object DeserializeFile(
    Type type,
    string filename,
    ClassifyOptions options = null,
    IClassifyFormat<JsonValue> format = null
)

Summary

Reconstructs an object of the specified type from the specified file.

Parameters

Typetype Type of object to read.
stringfilename Path and filename of the file to read from.
ClassifyOptionsoptions Options.
IClassifyFormat<JsonValue>format Implementation of a Classify format. See ClassifyJsonFormat for an example.

Returns

A new instance of the requested type.