ContentResult - конструктор
Пространство имён: Tessa.ContentСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public ContentResult(
Stream content,
string name,
string mimeType,
long size = -1
)
Public Sub New (
content As Stream,
name As String,
mimeType As String,
Optional size As Long = -1
)
public:
ContentResult(
Stream^ content,
String^ name,
String^ mimeType,
long long size = -1
)
new :
content : Stream *
name : string *
mimeType : string *
?size : int64
(* Defaults:
let _size = defaultArg size -1
*)
-> ContentResult
Параметры
- 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).