C# Class System.Net.Http.Tests.HttpContentHeadersTest.ComputeLengthHttpContent

Inheritance: HttpContent
Mostra file Open project: dotnet/corefx

Protected Methods

Method Description
SerializeToStreamAsync ( Stream stream, TransportContext context ) : System.Threading.Tasks.Task
TryComputeLength ( long &length ) : bool

Private Methods

Method Description
ComputeLengthHttpContent ( Func tryComputeLength ) : System

Method Details

SerializeToStreamAsync() protected method

protected SerializeToStreamAsync ( Stream stream, TransportContext context ) : System.Threading.Tasks.Task
stream Stream
context TransportContext
return System.Threading.Tasks.Task

TryComputeLength() protected method

protected TryComputeLength ( long &length ) : bool
length long
return bool