C# Class RestBucks.Infrastructure.XmlResponseProcessor

Inheritance: IResponseProcessor
Afficher le fichier Open project: horsdal/Restbucks-on-Nancy

Méthodes publiques

Méthode Description
CanProcess ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, Nancy.NancyContext context ) : Nancy.Responses.Negotiation.ProcessorMatch
Process ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, Nancy.NancyContext context ) : Response
XmlResponseProcessor ( IEnumerable serializers ) : System

Private Methods

Méthode Description
IsSomeXmlType ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange ) : bool
IsTextHhtml ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange ) : bool
IsWildCardOrApplicationType ( Nancy.Responses.Negotiation.MediaType superType ) : bool
IsWildCardOrXmlSubType ( Nancy.Responses.Negotiation.MediaType subtype ) : bool

Method Details

CanProcess() public méthode

public CanProcess ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, Nancy.NancyContext context ) : Nancy.Responses.Negotiation.ProcessorMatch
requestedMediaRange Nancy.Responses.Negotiation.MediaRange
model dynamic
context Nancy.NancyContext
Résultat Nancy.Responses.Negotiation.ProcessorMatch

Process() public méthode

public Process ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, Nancy.NancyContext context ) : Response
requestedMediaRange Nancy.Responses.Negotiation.MediaRange
model dynamic
context Nancy.NancyContext
Résultat Nancy.Response

XmlResponseProcessor() public méthode

public XmlResponseProcessor ( IEnumerable serializers ) : System
serializers IEnumerable
Résultat System