C# Class HotChai.Serialization.UnitTest.ObjectReaderWriterFactory

显示文件 Open project: hotchai/serialize.net Class Usage Examples

Public Methods

Method Description
CreateReader ( Stream stream ) : ObjectReader
CreateWriter ( Stream stream ) : ObjectWriter

Protected Methods

Method Description
ObjectReaderWriterFactory ( string name ) : System

Method Details

CreateReader() public abstract method

public abstract CreateReader ( Stream stream ) : ObjectReader
stream Stream
return ObjectReader

CreateWriter() public abstract method

public abstract CreateWriter ( Stream stream ) : ObjectWriter
stream Stream
return ObjectWriter

ObjectReaderWriterFactory() protected method

protected ObjectReaderWriterFactory ( string name ) : System
name string
return System