C# 클래스 Headless.PostFileStreamEntry

The PostFileStreamEntry class provides the information about a file to post with the specified Stream.
상속: PostFileEntry, IDisposable
파일 보기 프로젝트 열기: roryprimrose/Headless

공개 메소드들

메소드 설명
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