C# Class Sage.SData.Client.Framework.AttachedFile

Represents a file that's been attached to a request or response.
Mostra file Open project: Saleslogix/SDataCSharpClientLib

Public Methods

Method Description
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.

Private Methods

Method Description
GetFileName ( ContentDisposition contentDisposition ) : string

Method Details

AttachedFile() public method

Initializes a new instance of the AttachedFile class.
public AttachedFile ( MimePart part ) : System
part MimePart A multipart MIME part containing the attached file.
return System

AttachedFile() public method

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.
return System