C# Класс Simplify.Web.Responses.File

Provides Http file response (send file to response)
Наследование: ControllerResponse
Показать файл Открыть проект

Открытые методы

Метод Описание
File ( string outputFileName, string contentType, byte data ) : System

Initializes a new instance of the File class.

Process ( ) : ControllerResponseResult

Processes this response

Описание методов

File() публичный Метод

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.
Результат System

Process() публичный Метод

Processes this response
public Process ( ) : ControllerResponseResult
Результат ControllerResponseResult