C# 클래스 EnterpriseWebLibrary.EnterpriseWebFramework.BlobFileResponse

An HTTP response based on a BLOB file.
파일 보기 프로젝트 열기: enduracode/enterprise-web-library 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetResponse EwfResponse

공개 메소드들

메소드 설명
BlobFileResponse ( int fileId, Func processAsAttachmentGetter, Func forcedImageWidthGetter = null ) : System

Creates a BLOB-file response.

비공개 메소드들

메소드 설명
GetResponse ( ) : EwfResponse

메소드 상세

BlobFileResponse() 공개 메소드

Creates a BLOB-file response.
public BlobFileResponse ( int fileId, Func processAsAttachmentGetter, Func forcedImageWidthGetter = null ) : System
fileId int The ID of the BLOB file.
processAsAttachmentGetter Func A function that gets whether you want the response to be processed as an attachment. Return true if you want /// this behavior; otherwise return false or do not pass a function.
forcedImageWidthGetter Func A function that gets the width in pixels to which the specified file should be scaled, while maintaining its aspect /// ratio. The file must be an image. Pass null or return null if the file is not an image or you do not want scaling.
리턴 System