DataSerializer SerialiseDataObject T  Method (T, List DataProcessor , Dictionary String, String )NetworkComms.Net Help
Converts objectToSerialize to an array of bytes using the data processors and options provided.

Namespace: NetworkCommsDotNet.DPSBase
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public StreamTools..::..StreamSendWrapper SerialiseDataObject<T>(
	T objectToSerialise,
	List<DataProcessor> dataProcessors,
	Dictionary<string, string> options
)

Parameters

objectToSerialise
Type: T
Object to serialize
dataProcessors
Type: OnlineSystem.Collections.Generic List DataProcessor 
Data processors to apply to serialised data. These will be run in index order i.e. low index to high
options
Type: OnlineSystem.Collections.Generic Dictionary OnlineString, OnlineString 
Options dictionary for serialisation/data processing
Type Parameters

T
Type of object to serialize

Return Value

Type: StreamTools StreamSendWrapper
Serialized array of bytes
See Also