C# Класс Nancy.Serialization.ProtoBuf.ProtoBufProcessor

An IResponseProcessor implementation for ProtoBuffer.
Наследование: IResponseProcessor
Показать файл Открыть проект

Открытые методы

Метод Описание
CanProcess ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, NancyContext context ) : Nancy.Responses.Negotiation.ProcessorMatch

Determines whether the the processor can handle a given content type and model.

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

Process the response.

Приватные методы

Метод Описание
IsWildcardProtobufContentType ( Nancy.Responses.Negotiation.MediaRange requestedContentType ) : bool

Описание методов

CanProcess() публичный Метод

Determines whether the the processor can handle a given content type and model.
public CanProcess ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, NancyContext context ) : Nancy.Responses.Negotiation.ProcessorMatch
requestedMediaRange Nancy.Responses.Negotiation.MediaRange Content type requested by the client.
model dynamic The model for the given media range.
context NancyContext The nancy context.
Результат Nancy.Responses.Negotiation.ProcessorMatch

Process() публичный Метод

Process the response.
public Process ( Nancy.Responses.Negotiation.MediaRange requestedMediaRange, dynamic model, NancyContext context ) : Response
requestedMediaRange Nancy.Responses.Negotiation.MediaRange Content type requested by the client.
model dynamic The model for the given media range.
context NancyContext The nancy context.
Результат Response