Serialize Method
Definition
- Namespace
- Cuemon.Runtime.Serialization.Formatters
- Assemblies
- Cuemon.Core.dll
Serialize(object)
Serializes the specified source to an object of TFormat.
public TFormat Serialize(object source)
Parameters
sourceobjectThe object to serialize to a given format.
Returns
- TFormat
An object of the serialized
source.
Serialize(object, Type)
Serializes the object of this instance to an object of TFormat.
public abstract TFormat Serialize(object source, Type objectType)
Parameters
sourceobjectThe object to serialize to a given format.
objectTypeTypeThe type of the object to serialize.
Returns
- TFormat
An object of the serialized
source.