C# Class Nancy.Serialization.ServiceStack.ServiceStackBodyDeserializer

Inheritance: IBodyDeserializer
Afficher le fichier Open project: NancyFx/Nancy.Serialization.ServiceStack

Méthodes publiques

Méthode Description
CanDeserialize ( MediaRange mediaRange, BindingContext context ) : bool

Whether the deserializer can deserialize the content type

Deserialize ( MediaRange mediaRange, Stream bodyStream, BindingContext context ) : object

Deserialize the request body to a model

Private Methods

Méthode Description
CopyPropertyValue ( BindingMemberInfo property, object sourceObject, object destinationObject ) : void
CreateObjectWithBlacklistExcluded ( BindingContext context, object deserializedObject ) : object

Method Details

CanDeserialize() public méthode

Whether the deserializer can deserialize the content type
public CanDeserialize ( MediaRange mediaRange, BindingContext context ) : bool
mediaRange MediaRange Content type to deserialize
context BindingContext Current .
Résultat bool

Deserialize() public méthode

Deserialize the request body to a model
public Deserialize ( MediaRange mediaRange, Stream bodyStream, BindingContext context ) : object
mediaRange MediaRange Content type to deserialize
bodyStream Stream Request body stream
context BindingContext Current context
Résultat object