C# 클래스 Nancy.EmbeddedContent.EmbeddedResponse

The class responsible for returning responses from embedded content.
상속: Response
파일 보기 프로젝트 열기: jugglingnutcase/Nancy.EmbeddedContent

공개 메소드들

메소드 설명
EmbeddedResponse ( Assembly assembly, string resourcePath, string name, System.DateTime lastModifiedDate, NancyContext context = null ) : Nancy.Helpers

Creates an EmbeddedResponse

EmbeddedResponse ( Assembly assembly, string resourcePath, string name, NancyContext context = null ) : Nancy.Helpers

Creates an EmbeddedResponse

비공개 메소드들

메소드 설명
ByteArrayToString ( byte data ) : string
EmbeddedResponse ( ) : Nancy.Helpers
GenerateETag ( Stream stream ) : string
GetFileNameFromResourceName ( string resourcePath, string resourceName ) : string
GetResourceContent ( Assembly assembly, string resourcePath, string name ) : Stream

메소드 상세

EmbeddedResponse() 공개 메소드

Creates an EmbeddedResponse
public EmbeddedResponse ( Assembly assembly, string resourcePath, string name, System.DateTime lastModifiedDate, NancyContext context = null ) : Nancy.Helpers
assembly System.Reflection.Assembly The assembly containing the embedded file with which to respond
resourcePath string The path to the embedded resource
name string The name of the resource
lastModifiedDate System.DateTime The date that will be compared against modified headers to determine if a NotModified response should be sent
context NancyContext The Nancy context
리턴 Nancy.Helpers

EmbeddedResponse() 공개 메소드

Creates an EmbeddedResponse
public EmbeddedResponse ( Assembly assembly, string resourcePath, string name, NancyContext context = null ) : Nancy.Helpers
assembly System.Reflection.Assembly The assembly containing the embedded file with which to respond
resourcePath string The path to the embedded resource
name string The name of the resource
context NancyContext The Nancy context
리턴 Nancy.Helpers