C# Class EnterpriseWebLibrary.EnterpriseWebFramework.BlobFileResponse

An HTTP response based on a BLOB file.
ファイルを表示 Open project: enduracode/enterprise-web-library Class Usage Examples

Private Properties

Property Type Description
GetResponse EwfResponse

Public Methods

Method Description
BlobFileResponse ( int fileId, Func processAsAttachmentGetter, Func forcedImageWidthGetter = null ) : System

Creates a BLOB-file response.

Private Methods

Method Description
GetResponse ( ) : EwfResponse

Method Details

BlobFileResponse() public method

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.
return System