C# Class Simplify.Web.Responses.File

Provides Http file response (send file to response)
Inheritance: ControllerResponse
Exibir arquivo Open project: i4004/Simplify.Web

Public Methods

Method Description
File ( string outputFileName, string contentType, byte data ) : System

Initializes a new instance of the File class.

Process ( ) : ControllerResponseResult

Processes this response

Method Details

File() public method

Initializes a new instance of the File class.
public File ( string outputFileName, string contentType, byte data ) : System
outputFileName string The name of the file.
contentType string Type of the content.
data byte The data of the file.
return System

Process() public method

Processes this response
public Process ( ) : ControllerResponseResult
return ControllerResponseResult