C# Класс Sage.SData.Client.Framework.AttachedFile

Represents a file that's been attached to a request or response.
Показать файл Открыть проект

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

Метод Описание
AttachedFile ( MimePart part ) : System

Initializes a new instance of the AttachedFile class.

AttachedFile ( string contentType, string fileName, Stream stream ) : System

Initializes a new instance of the AttachedFile class.

Приватные методы

Метод Описание
GetFileName ( ContentDisposition contentDisposition ) : string

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

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

Initializes a new instance of the AttachedFile class.
public AttachedFile ( MimePart part ) : System
part MimePart A multipart MIME part containing the attached file.
Результат System

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

Initializes a new instance of the AttachedFile class.
public AttachedFile ( string contentType, string fileName, Stream stream ) : System
contentType string The MIME content type of an attached file.
fileName string The file name of an attached file.
stream System.IO.Stream The object that points to the content of an attached file.
Результат System