Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: TElement Serialize<TElement>(Type, object, IClassifyFormat<TElement>, ClassifyOptions)

Declaration

public static TElement Serialize<TElement>(
    Type saveType,
    object saveObject,
    IClassifyFormat<TElement> format,
    ClassifyOptions options = null
)

Summary

Converts the specified object into a serialized form.

Generic type parameters

TElement Type of the serialized form (see format).

Parameters

TypesaveType Type of object to convert.
objectsaveObject Object to be serialized.
IClassifyFormat<TElement>format Implementation of a Classify format.
ClassifyOptionsoptions Options.

Returns

The serialized form generated from the object.