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

Inheritance: HttpContent
Afficher le fichier Open project: dotnet/corefx

Méthodes protégées

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

Private Methods

Méthode Description
ComputeLengthHttpContent ( Func tryComputeLength ) : System

Method Details

SerializeToStreamAsync() protected méthode

protected SerializeToStreamAsync ( Stream stream, TransportContext context ) : System.Threading.Tasks.Task
stream Stream
context TransportContext
Résultat System.Threading.Tasks.Task

TryComputeLength() protected méthode

protected TryComputeLength ( long &length ) : bool
length long
Résultat bool