Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

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

Generic type parameters

TElement Type of the serialized form (see format).
T Type of object to read.

Parameters

stringfilename Path and filename of the file to read from.
IClassifyFormat<TElement>format Implementation of a Classify format.
ClassifyOptionsoptions Options.

Returns

A new instance of the requested type.