Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

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

Generic type parameters

T Type of object to read.

Parameters

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.