C# 클래스 Nancy.Response

상속: IDisposable
파일 보기 프로젝트 열기: NancyFx/Nancy 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NoBody Action

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

This method can be overridden in sub-classes to dispose of response specific resources.

PreExecute ( Nancy.NancyContext context ) : System.Threading.Tasks.Task

Executes at the end of the nancy execution pipeline and before control is passed back to the hosting. Can be used to pre-render/validate views while still inside the main pipeline/error handling.

Response ( ) : System

Initializes a new instance of the Response class.

보호된 메소드들

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

Converts a string content value to a response action.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
This method can be overridden in sub-classes to dispose of response specific resources.
public Dispose ( ) : void
리턴 void

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

Converts a string content value to a response action.
protected static GetStringContents ( string contents ) : Action
contents string The string containing the content.
리턴 Action

PreExecute() 공개 메소드

Executes at the end of the nancy execution pipeline and before control is passed back to the hosting. Can be used to pre-render/validate views while still inside the main pipeline/error handling.
public PreExecute ( Nancy.NancyContext context ) : System.Threading.Tasks.Task
context Nancy.NancyContext Nancy context
리턴 System.Threading.Tasks.Task

Response() 공개 메소드

Initializes a new instance of the Response class.
public Response ( ) : System
리턴 System

프로퍼티 상세

NoBody 공개적으로 정적으로 프로퍼티

Null object representing no body
public static Action NoBody
리턴 Action