C# Class Bari.Core.Build.Dependencies.Protocol.BinaryProtocolSerializerContext

Inheritance: IProtocolSerializerContext
Show file Open project: vigoo/bari Class Usage Examples

Public Methods

Method Description
BinaryProtocolSerializerContext ( Stream output, IDependencyFingerprintProtocolRegistry registry ) : System
Write ( System.DateTime value ) : void
Write ( IDependencyFingerprintProtocol protocol ) : void
Write ( System.TimeSpan value ) : void
Write ( Uri value ) : void
Write ( bool value ) : void
Write ( double value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( string value ) : void
WritePrimitive ( object value, Type valueType ) : void

Private Methods

Method Description
WriteEnum ( object value, Type valueType ) : void
WriteType ( Type type ) : void

Method Details

BinaryProtocolSerializerContext() public method

public BinaryProtocolSerializerContext ( Stream output, IDependencyFingerprintProtocolRegistry registry ) : System
output Stream
registry IDependencyFingerprintProtocolRegistry
return System

Write() public method

public Write ( System.DateTime value ) : void
value System.DateTime
return void

Write() public method

public Write ( IDependencyFingerprintProtocol protocol ) : void
protocol IDependencyFingerprintProtocol
return void

Write() public method

public Write ( System.TimeSpan value ) : void
value System.TimeSpan
return void

Write() public method

public Write ( Uri value ) : void
value System.Uri
return void

Write() public method

public Write ( bool value ) : void
value bool
return void

Write() public method

public Write ( double value ) : void
value double
return void

Write() public method

public Write ( int value ) : void
value int
return void

Write() public method

public Write ( long value ) : void
value long
return void

Write() public method

public Write ( string value ) : void
value string
return void

WritePrimitive() public method

public WritePrimitive ( object value, Type valueType ) : void
value object
valueType System.Type
return void