C# Class CollectionJson.Client.CollectionJsonContent

Inheritance: System.Net.Http.HttpContent
Show file Open project: WebApiContrib/CollectionJson.Net

Public Methods

Method Description
CollectionJsonContent ( Collection collection ) : System

Protected Methods

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

Method Details

CollectionJsonContent() public method

public CollectionJsonContent ( Collection collection ) : System
collection Collection
return System

SerializeToStreamAsync() protected method

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

TryComputeLength() protected method

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