C# Class WebApiConneg.Formatters.CarCsvMediaTypeFormatter

Inheritance: System.Net.Http.Formatting.BufferedMediaTypeFormatter
Afficher le fichier Open project: tugberkugurlu/ProWebAPI.Samples

Méthodes publiques

Méthode Description
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
CarCsvMediaTypeFormatter ( ) : System
WriteToStream ( Type type, object value, Stream stream, HttpContent content ) : void

Private Methods

Méthode Description
Escape ( object o ) : string
writeItem ( Car car, StreamWriter writer ) : void

Method Details

CanReadType() public méthode

public CanReadType ( Type type ) : bool
type System.Type
Résultat bool

CanWriteType() public méthode

public CanWriteType ( Type type ) : bool
type System.Type
Résultat bool

CarCsvMediaTypeFormatter() public méthode

public CarCsvMediaTypeFormatter ( ) : System
Résultat System

WriteToStream() public méthode

public WriteToStream ( Type type, object value, Stream stream, HttpContent content ) : void
type System.Type
value object
stream Stream
content System.Net.Http.HttpContent
Résultat void