ContentResult - конструктор

Creates an instance of the ContentResult class.

Definition

Пространство имён: Tessa.Content
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public ContentResult(
	Stream content,
	string name,
	string mimeType,
	long size = -1
)

Параметры

content  Stream
The requested content.
name  String
The name of the content.
mimeType  String
The MIME type of the content.
size  Int64  (Optional)
The size of the content.
The default value is -1 (content size is unknown).

См. также