C# Class MvcApi.Formatting.StreamMediaTypeFormatter

Inheritance: MediaTypeFormatter
Show file Open project: dax70/MvcApi

Public Methods

Method Description
ExecuteFormat ( Type type, object returnValue, FormatterContext formatterContext ) : void
WriteToStream ( Type type, object value, Stream stream, HttpRequestMessage requestMessage ) : void

Protected Methods

Method Description
StreamMediaTypeFormatter ( ) : System

Method Details

ExecuteFormat() public method

public ExecuteFormat ( Type type, object returnValue, FormatterContext formatterContext ) : void
type System.Type
returnValue object
formatterContext FormatterContext
return void

StreamMediaTypeFormatter() protected method

protected StreamMediaTypeFormatter ( ) : System
return System

WriteToStream() public abstract method

public abstract WriteToStream ( Type type, object value, Stream stream, HttpRequestMessage requestMessage ) : void
type System.Type
value object
stream Stream
requestMessage MvcApi.Http.HttpRequestMessage
return void