C# Class Headless.PostFileStreamEntry

The PostFileStreamEntry class provides the information about a file to post with the specified Stream.
Inheritance: PostFileEntry, IDisposable
Afficher le fichier Open project: roryprimrose/Headless

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

PostFileStreamEntry ( string name, string fileName, Stream data ) : System

Initializes a new instance of the PostFileStreamEntry class.

The fileName parameter should be the name of the file or the path to a file. The data stream is disposed when this instance is disposed.

ReadContent ( ) : Stream

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool /// true to release both managed and unmanaged resources; false to release only /// unmanaged resources. ///
Résultat void

PostFileStreamEntry() public méthode

Initializes a new instance of the PostFileStreamEntry class.
The fileName parameter should be the name of the file or the path to a file. The data stream is disposed when this instance is disposed.
/// The parameter is null. ///
public PostFileStreamEntry ( string name, string fileName, Stream data ) : System
name string /// The name. ///
fileName string /// The file name. ///
data Stream /// The data. ///
Résultat System

ReadContent() public méthode

public ReadContent ( ) : Stream
Résultat Stream