C# Class PRI.ProductivityExtensions.SqlFileStreamExtensions.SqlFileStreamable

Class that contains extension methods that extend SqlFileStream
Exibir arquivo Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
BeginRead ( this sqlfilestream, Byte buffer, AsyncCallback callback ) : IAsyncResult

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. sqlfilestream.BeginRead(buffer, callback);

BeginRead ( this sqlfilestream, Byte buffer, Int32 offset, Int32 count, AsyncCallback callback ) : IAsyncResult

Extends BeginRead so that when a state object is not needed, null does not need to be passed. sqlfilestream.BeginRead(buffer, offset, count, callback);

BeginWrite ( this sqlfilestream, Byte buffer, AsyncCallback callback ) : IAsyncResult

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. sqlfilestream.BeginWrite(buffer, callback);

BeginWrite ( this sqlfilestream, Byte buffer, Int32 offset, Int32 count, AsyncCallback callback ) : IAsyncResult

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. sqlfilestream.BeginWrite(buffer, offset, count, callback);

Method Details

BeginRead() public static method

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. sqlfilestream.BeginRead(buffer, callback);
public static BeginRead ( this sqlfilestream, Byte buffer, AsyncCallback callback ) : IAsyncResult
sqlfilestream this
buffer Byte
callback AsyncCallback
return IAsyncResult

BeginRead() public static method

Extends BeginRead so that when a state object is not needed, null does not need to be passed. sqlfilestream.BeginRead(buffer, offset, count, callback);
public static BeginRead ( this sqlfilestream, Byte buffer, Int32 offset, Int32 count, AsyncCallback callback ) : IAsyncResult
sqlfilestream this
buffer Byte
offset System.Int32
count System.Int32
callback AsyncCallback
return IAsyncResult

BeginWrite() public static method

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. sqlfilestream.BeginWrite(buffer, callback);
public static BeginWrite ( this sqlfilestream, Byte buffer, AsyncCallback callback ) : IAsyncResult
sqlfilestream this
buffer Byte
callback AsyncCallback
return IAsyncResult

BeginWrite() public static method

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. sqlfilestream.BeginWrite(buffer, offset, count, callback);
public static BeginWrite ( this sqlfilestream, Byte buffer, Int32 offset, Int32 count, AsyncCallback callback ) : IAsyncResult
sqlfilestream this
buffer Byte
offset System.Int32
count System.Int32
callback AsyncCallback
return IAsyncResult