C# 클래스 Pomona.NonClosingStreamWriter

A version of StreamWriter that doesn't close the underlying Stream when Disposed. Writes to the underlying Stream with a BOM-less UTF-8 encoding.
상속: System.IO.StreamWriter
파일 보기 프로젝트 열기: Pomona/Pomona 1 사용 예제들

공개 메소드들

메소드 설명
NonClosingStreamWriter ( Stream stream ) : System.IO

Initializes a new instance of the NonClosingStreamWriter class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Flushes the content of the StreamWriter to the underlying Stream, but does not close it.

비공개 메소드들

메소드 설명
NonClosingStreamWriter ( ) : System.IO

Initializes the NonClosingStreamWriter class.

메소드 상세

Dispose() 보호된 메소드

Flushes the content of the StreamWriter to the underlying Stream, but does not close it.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

NonClosingStreamWriter() 공개 메소드

Initializes a new instance of the NonClosingStreamWriter class.
public NonClosingStreamWriter ( Stream stream ) : System.IO
stream System.IO.Stream The stream to write to.
리턴 System.IO