C# Class Simplify.Web.Responses.File

Provides Http file response (send file to response)
Inheritance: ControllerResponse
Afficher le fichier Open project: i4004/Simplify.Web

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Process() public méthode

Processes this response
public Process ( ) : ControllerResponseResult
Résultat ControllerResponseResult