SerializeObject Method
Definition
- Namespace
- Cuemon.Runtime.Serialization.Formatters
- Assemblies
- Cuemon.Core.dll
SerializeObject(object)
Serializes the specified source to an object of Stream.
public static Stream SerializeObject(object source)
Parameters
Returns
SerializeObject(object, Action<TOptions>)
Serializes the specified source to an object of Stream.
public static Stream SerializeObject(object source, Action<TOptions> setup)
Parameters
sourceobjectThe object to serialize to Stream format.
setupAction<TOptions>The
TOptionswhich may be configured.
Returns
SerializeObject(object, Type)
Serializes the specified source to an object of Stream.
public static Stream SerializeObject(object source, Type objectType)
Parameters
sourceobjectThe object to serialize to Stream format.
objectTypeTypeThe type of the object to serialize.
Returns
SerializeObject(object, Type, Action<TOptions>)
Serializes the specified source to an object of Stream.
public static Stream SerializeObject(object source, Type objectType, Action<TOptions> setup)
Parameters
sourceobjectThe object to serialize to Stream format.
objectTypeTypeThe type of the object to serialize.
setupAction<TOptions>The
TOptionswhich may be configured.
Returns
SerializeObject(object, TOptions)
Serializes the specified source to an object of Stream.
public static Stream SerializeObject(object source, TOptions options)
Parameters
Returns
SerializeObject(object, Type, TOptions)
Serializes the specified source to an object of Stream.
public static Stream SerializeObject(object source, Type objectType, TOptions options)
Parameters
sourceobjectThe object to serialize to Stream format.
objectTypeTypeThe type of the object to serialize.
optionsTOptionsThe configured
TOptions.