C# Class ContactManager.Web.Formatters.ContactCalendarFormatter

Inheritance: System.Net.Http.Formatting.BufferedMediaTypeFormatter
Show file Open project: WebApiContrib/WebApiContrib.Samples

Public Methods

Method Description
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
ContactCalendarFormatter ( ) : System
WriteToStream ( Type type, object value, Stream stream, HttpContent content ) : void

Private Methods

Method Description
WriteEvent ( ContactManager.Models.Contact contact, Stream stream ) : void

Method Details

CanReadType() public method

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

CanWriteType() public method

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

ContactCalendarFormatter() public method

public ContactCalendarFormatter ( ) : System
return System

WriteToStream() public method

public WriteToStream ( Type type, object value, Stream stream, HttpContent content ) : void
type System.Type
value object
stream Stream
content HttpContent
return void