C# Класс Pomona.PomonaJsonResponseProcessor

Наследование: PomonaResponseProcessorBase
Показать файл Открыть проект

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

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

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

PomonaJsonResponseProcessor ( IRouteCacheProvider routeCacheProvider ) : System

Защищенные методы

Метод Описание
GetSerializerFactory ( Nancy.NancyContext context ) : ITextSerializerFactory

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

Метод Описание
IsExactJsonContentType ( Nancy.Responses.Negotiation.MediaRange requestedContentType ) : bool
IsWildcardJsonContentType ( 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, Nancy.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 Nancy.NancyContext The nancy context
Результат Nancy.Responses.Negotiation.ProcessorMatch

GetSerializerFactory() защищенный Метод

protected GetSerializerFactory ( Nancy.NancyContext context ) : ITextSerializerFactory
context Nancy.NancyContext
Результат ITextSerializerFactory

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

public PomonaJsonResponseProcessor ( IRouteCacheProvider routeCacheProvider ) : System
routeCacheProvider IRouteCacheProvider
Результат System