C# 클래스 Nancy.Demo.Caching.CachedResponse

Wraps a regular response in a cached response The cached response invokes the old response and stores it as a string. Obviously this only works for ASCII text based responses, so don't use this in a real application :-)
상속: Nancy.Response
파일 보기 프로젝트 열기: NashDotNet/ravendb_nancyfx_presentation 1 사용 예제들

공개 메소드들

메소드 설명
CachedResponse ( Response response ) : System

보호된 메소드들

메소드 설명
GetContents ( string contents ) : Action

메소드 상세

CachedResponse() 공개 메소드

public CachedResponse ( Response response ) : System
response Nancy.Response
리턴 System

GetContents() 보호된 정적인 메소드

protected static GetContents ( string contents ) : Action
contents string
리턴 Action