C# 클래스 StreamWriteTo, extensions

Provides WriteTo extension methods to write streams easily to another steam or a target file.
파일 보기 프로젝트 열기: netfx/extensions

공개 메소드들

메소드 설명
WriteTo ( this source, Stream target ) : Stream

Writes the input stream to the target stream.

WriteTo ( this source, Stream target ) : void

Writes the input stream to the target stream.

WriteTo ( this source, string targetFile, bool append = false ) : void

Writes the input stream to the target file.

메소드 상세

WriteTo() 공개 정적인 메소드

Writes the input stream to the target stream.
public static WriteTo ( this source, Stream target ) : Stream
source this
target Stream
리턴 Stream

WriteTo() 공개 정적인 메소드

Writes the input stream to the target stream.
public static WriteTo ( this source, Stream target ) : void
source this The source stream to write to the target stream.
target Stream The target stream to write to.
리턴 void

WriteTo() 공개 정적인 메소드

Writes the input stream to the target file.
public static WriteTo ( this source, string targetFile, bool append = false ) : void
source this The source stream to write to the target file.
targetFile string The target file to write to.
append bool If set to and the file exists, then appends the source stream, otherwise, it will overwrite it.
리턴 void