Summer.Batch.Core.Repository.IExecutionContextSerializer Interface Reference

A composite interface that combines both serialization and deserialization of an execution context into a single implementation. Implementations of this interface are used to serialize the execution context for persistence during the execution of a job. More...

Public Member Functions

void Serialize (IDictionary< string, Object > toSerialize, Stream stream)
 Serialize object. More...
 
IDictionary< string, Object > Deserialize (Stream stream)
 Deserialize stream to object. More...
 

Detailed Description

A composite interface that combines both serialization and deserialization of an execution context into a single implementation. Implementations of this interface are used to serialize the execution context for persistence during the execution of a job.

Member Function Documentation

IDictionary<string, Object> Summer.Batch.Core.Repository.IExecutionContextSerializer.Deserialize ( Stream  stream)

Deserialize stream to object.

Parameters
stream
Returns
void Summer.Batch.Core.Repository.IExecutionContextSerializer.Serialize ( IDictionary< string, Object >  toSerialize,
Stream  stream 
)

Serialize object.

Parameters
toSerialize
stream

The documentation for this interface was generated from the following file:
  • Summer.Batch.Core/Core/Repository/IExecutionContextSerializer.cs