C# Class MvcApi.Formatting.XmlMediaTypeFormatter

Inheritance: StreamMediaTypeFormatter
Show file Open project: dax70/MvcApi

Public Methods

Method Description
CanWriteType ( Type type ) : bool
WriteToStream ( Type type, object value, Stream stream, HttpRequestMessage requestMessage ) : void

Private Methods

Method Description
XmlMediaTypeFormatter ( ) : System

Method Details

CanWriteType() public method

public CanWriteType ( Type type ) : bool
type System.Type
return bool

WriteToStream() public method

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