C# 클래스 Pomona.PomonaJsonResponseProcessor

상속: PomonaResponseProcessorBase
파일 보기 프로젝트 열기: Pomona/Pomona

공개 메소드들

메소드 설명
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