C# Class HaloOnline.Server.Core.Http.Formatters.HydraBinaryFormatter

Inheritance: System.Net.Http.Formatting.MediaTypeFormatter
Afficher le fichier Open project: no1dead/HaloMasterMaster

Méthodes publiques

Méthode Description
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
HydraBinaryFormatter ( ) : System
ReadFromStreamAsync ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : Task
WriteToStreamAsync ( Type type, object value, Stream writeStream, HttpContent content, System.Net.TransportContext transportContext ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
ReadXHydraBinaryData ( Type type, Stream readStream, IFormatterLogger formatterLogger ) : HydraBinaryData
WriteXHydraBinaryData ( Type type, HydraBinaryData value, Stream writeStream ) : 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

HydraBinaryFormatter() public méthode

public HydraBinaryFormatter ( ) : System
Résultat System

ReadFromStreamAsync() public méthode

public ReadFromStreamAsync ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : Task
type System.Type
readStream Stream
content System.Net.Http.HttpContent
formatterLogger IFormatterLogger
Résultat Task

WriteToStreamAsync() public méthode

public WriteToStreamAsync ( Type type, object value, Stream writeStream, HttpContent content, System.Net.TransportContext transportContext ) : System.Threading.Tasks.Task
type System.Type
value object
writeStream Stream
content System.Net.Http.HttpContent
transportContext System.Net.TransportContext
Résultat System.Threading.Tasks.Task