Table of Contents

StreamFormatter<TOptions> Class

Definition

Serializes and deserializes an object, in Stream format.

public abstract class StreamFormatter<TOptions> : Formatter<Stream>, IConfigurable<TOptions> where TOptions : class, IParameterObject, new()

Type Parameters

TOptions
Inheritance
StreamFormatter<TOptions>
Implements
IConfigurable<TOptions>
Derived
Inherited Members

Constructors

Name Description
StreamFormatter()

Initializes a new instance of the StreamFormatter<TOptions> class.

StreamFormatter(Action<TOptions>)

Initializes a new instance of the StreamFormatter<TOptions> class.

StreamFormatter(TOptions)

Initializes a new instance of the StreamFormatter<TOptions> class.

Properties

Name Description
Options

Gets the configured options of this StreamFormatter<TOptions>.

Methods

Name Description
DeserializeObject(Stream, Type)

Deserializes the specified value into an object of objectType.

DeserializeObject(Stream, Type, Action<TOptions>)

Deserializes the specified value into an object of objectType.

DeserializeObject(Stream, Type, TOptions)

Deserializes the specified value into an object of objectType.

DeserializeObject<T>(Stream)

Deserializes the specified value into an object of T.

DeserializeObject<T>(Stream, Action<TOptions>)

Deserializes the specified value into an object of T.

DeserializeObject<T>(Stream, TOptions)

Deserializes the specified value into an object of T.

SerializeObject(object)

Serializes the specified source to an object of Stream.

SerializeObject(object, Action<TOptions>)

Serializes the specified source to an object of Stream.

SerializeObject(object, Type)

Serializes the specified source to an object of Stream.

SerializeObject(object, Type, Action<TOptions>)

Serializes the specified source to an object of Stream.

SerializeObject(object, Type, TOptions)

Serializes the specified source to an object of Stream.

SerializeObject(object, TOptions)

Serializes the specified source to an object of Stream.

See Also

Formatter<TFormat>