C# Class ServiceStack.ProtocolBuffers.ProtocolBuffersFormat

Afficher le fichier Open project: e-travel/ServiceStack.ProtocolBuffers

Méthodes publiques

Méthode Description
DeserializeFromStream ( Type type, Stream stream ) : object
Register ( IAppHost appHost ) : void
SerializeToStream ( IRequestContext requestContext, object response, Stream stream ) : void

Method Details

DeserializeFromStream() public static méthode

public static DeserializeFromStream ( Type type, Stream stream ) : object
type System.Type
stream Stream
Résultat object

Register() public static méthode

public static Register ( IAppHost appHost ) : void
appHost IAppHost
Résultat void

SerializeToStream() public static méthode

public static SerializeToStream ( IRequestContext requestContext, object response, Stream stream ) : void
requestContext IRequestContext
response object
stream Stream
Résultat void