C# Класс Headless.PostFileStreamEntry

The PostFileStreamEntry class provides the information about a file to post with the specified Stream.
Наследование: PostFileEntry, IDisposable
Показать файл Открыть проект

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

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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. ///
Результат void

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

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. ///
Результат System

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

public ReadContent ( ) : Stream
Результат Stream