C# 클래스 Gate.Utils.Net40Extensions

파일 보기 프로젝트 열기: owin/museum-piece-gate

공개 메소드들

메소드 설명
CopyToAsync ( this source, Stream destination, CancellationToken cancel = default(CancellationToken) ) : Task
CopyToAsync ( this source, Stream destination, int bytesRemaining, CancellationToken cancel = default(CancellationToken) ) : Task
FlushAsync ( this stream ) : Task
WriteAsync ( this stream, byte buffer, int offset, int count, CancellationToken cancel = default(CancellationToken) ) : Task

메소드 상세

CopyToAsync() 공개 정적인 메소드

public static CopyToAsync ( this source, Stream destination, CancellationToken cancel = default(CancellationToken) ) : Task
source this
destination Stream
cancel System.Threading.CancellationToken
리턴 Task

CopyToAsync() 공개 정적인 메소드

public static CopyToAsync ( this source, Stream destination, int bytesRemaining, CancellationToken cancel = default(CancellationToken) ) : Task
source this
destination Stream
bytesRemaining int
cancel System.Threading.CancellationToken
리턴 Task

FlushAsync() 공개 정적인 메소드

public static FlushAsync ( this stream ) : Task
stream this
리턴 Task

WriteAsync() 공개 정적인 메소드

public static WriteAsync ( this stream, byte buffer, int offset, int count, CancellationToken cancel = default(CancellationToken) ) : Task
stream this
buffer byte
offset int
count int
cancel System.Threading.CancellationToken
리턴 Task